VTK-m
2.0
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
g
v
Variables
Typedefs
Macros
b
c
d
e
i
k
m
n
p
q
r
s
t
u
v
x
z
vtkm
cont
kokkos
internal
DeviceAdapterTagKokkos.h
Go to the documentation of this file.
1
//============================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
//
6
// This software is distributed WITHOUT ANY WARRANTY; without even
7
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
// PURPOSE. See the above copyright notice for more information.
9
//============================================================================
10
#ifndef vtk_m_cont_kokkos_internal_DeviceAdapterTagKokkos_h
11
#define vtk_m_cont_kokkos_internal_DeviceAdapterTagKokkos_h
12
13
#include <
vtkm/cont/DeviceAdapterTag.h
>
14
15
//We always create the kokkos tag when included, but we only mark it as
16
//a valid tag when VTKM_ENABLE_KOKKOS is true. This is for easier development
17
//of multi-backend systems
18
#if defined(VTKM_ENABLE_KOKKOS) && \
19
((!defined(VTKM_KOKKOS_CUDA) || defined(VTKM_CUDA)) || \
20
!defined(VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG))
21
VTKM_VALID_DEVICE_ADAPTER
(Kokkos,
VTKM_DEVICE_ADAPTER_KOKKOS
);
22
#else
23
VTKM_INVALID_DEVICE_ADAPTER
(Kokkos,
VTKM_DEVICE_ADAPTER_KOKKOS
);
24
#endif
25
26
#endif // vtk_m_cont_kokkos_internal_DeviceAdapterTagKokkos_h
VTKM_VALID_DEVICE_ADAPTER
VTKM_VALID_DEVICE_ADAPTER(Serial, VTKM_DEVICE_ADAPTER_SERIAL)
DeviceAdapterTag.h
VTKM_DEVICE_ADAPTER_KOKKOS
#define VTKM_DEVICE_ADAPTER_KOKKOS
Definition:
DeviceAdapterTag.h:40
VTKM_INVALID_DEVICE_ADAPTER
VTKM_INVALID_DEVICE_ADAPTER(Kokkos, VTKM_DEVICE_ADAPTER_KOKKOS)
Generated by
1.8.17