VTK-m  2.0
DeviceAdapterRuntimeDetectorOpenMP.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_openmp_internal_DeviceAdapterRuntimeDetector_h
11 #define vtk_m_cont_openmp_internal_DeviceAdapterRuntimeDetector_h
12 
14 #include <vtkm/cont/vtkm_cont_export.h>
15 
16 namespace vtkm
17 {
18 namespace cont
19 {
20 
21 template <class DeviceAdapterTag>
22 class DeviceAdapterRuntimeDetector;
23 
26 template <>
27 class VTKM_CONT_EXPORT DeviceAdapterRuntimeDetector<vtkm::cont::DeviceAdapterTagOpenMP>
28 {
29 public:
32  VTKM_CONT bool Exists() const;
33 };
34 }
35 }
36 
37 #endif
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
DeviceAdapterTagOpenMP.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