VTK-m  2.0
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 
18 
19 namespace vtkm
20 {
21 namespace cont
22 {
23 
24 template <class DeviceAdapterTag>
26 
27 
37 template <>
38 class VTKM_CONT_EXPORT DeviceAdapterRuntimeDetector<vtkm::cont::DeviceAdapterTagCuda>
39 {
40 public:
42 
49  VTKM_CONT bool Exists() const;
50 
51 private:
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