VTK-m  2.2
RuntimeDeviceConfigurationSerial.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_serial_internal_RuntimeDeviceConfigurationSerial_h
11 #define vtk_m_cont_serial_internal_RuntimeDeviceConfigurationSerial_h
12 
15 
16 namespace vtkm
17 {
18 namespace cont
19 {
20 namespace internal
21 {
22 
23 template <>
24 class RuntimeDeviceConfiguration<vtkm::cont::DeviceAdapterTagSerial>
25  : public vtkm::cont::internal::RuntimeDeviceConfigurationBase
26 {
27  VTKM_CONT vtkm::cont::DeviceAdapterId GetDevice() const final
28  {
30  }
31 };
32 }
33 }
34 }
35 
36 #endif //vtk_m_cont_serial_internal_RuntimeDeviceConfigurationSerial_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::DeviceAdapterTagSerial
Tag for a device adapter that performs all computation on the same single thread as the control envir...
Definition: DeviceAdapterTagSerial.h:22
DeviceAdapterTagSerial.h
RuntimeDeviceConfiguration.h
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::cont::DeviceAdapterId
An object used to specify a device.
Definition: DeviceAdapterTag.h:58