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
cuda
internal
DeviceAdapterRuntimeDetectorCuda.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_cuda_internal_DeviceAdapterRuntimeDetectorCuda_h
11
#define vtk_m_cont_cuda_internal_DeviceAdapterRuntimeDetectorCuda_h
12
13
#include <vtkm/cont/vtkm_cont_export.h>
14
15
#include <
vtkm/Types.h
>
16
17
#include <
vtkm/cont/cuda/internal/DeviceAdapterTagCuda.h
>
18
19
namespace
vtkm
20
{
21
namespace
cont
22
{
23
24
template
<
class
DeviceAdapterTag>
25
class
DeviceAdapterRuntimeDetector
;
26
27
37
template
<>
38
class
VTKM_CONT_EXPORT
DeviceAdapterRuntimeDetector
<
vtkm
::cont::DeviceAdapterTagCuda>
39
{
40
public
:
41
VTKM_CONT
DeviceAdapterRuntimeDetector
();
42
49
VTKM_CONT
bool
Exists()
const
;
50
51
private
:
52
vtkm::Int32
NumberOfDevices
;
53
vtkm::Int32
HighestArchSupported
;
54
};
55
}
56
}
// namespace vtkm::cont
57
58
59
#endif
vtkm::cont::DeviceAdapterRuntimeDetector< vtkm::cont::DeviceAdapterTagCuda >::NumberOfDevices
vtkm::Int32 NumberOfDevices
Definition:
DeviceAdapterRuntimeDetectorCuda.h:52
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
Types.h
vtkm::cont::DeviceAdapterRuntimeDetector< vtkm::cont::DeviceAdapterTagCuda >::HighestArchSupported
vtkm::Int32 HighestArchSupported
Definition:
DeviceAdapterRuntimeDetectorCuda.h:53
DeviceAdapterTagCuda.h
vtkm::cont::DeviceAdapterRuntimeDetector
Class providing a device-specific runtime support detector.
Definition:
DeviceAdapterRuntimeDetectorCuda.h:25
VTKM_CONT
#define VTKM_CONT
Definition:
ExportMacros.h:57
vtkm::Int32
int32_t Int32
Definition:
Types.h:160
Generated by
1.8.17