10 #ifndef vtk_m_cont_internal_RuntimeDeviceConfiguration_h
11 #define vtk_m_cont_internal_RuntimeDeviceConfiguration_h
27 enum class RuntimeDeviceConfigReturnCode
39 VTKM_CONT virtual ~RuntimeDeviceConfigurationBase() noexcept;
40 VTKM_CONT virtual
vtkm::cont::DeviceAdapterId GetDevice() const = 0;
56 VTKM_CONT virtual RuntimeDeviceConfigReturnCode SetThreads(const
vtkm::
Id& value);
57 VTKM_CONT virtual RuntimeDeviceConfigReturnCode SetDeviceInstance(const
vtkm::
Id& value);
61 VTKM_CONT virtual RuntimeDeviceConfigReturnCode GetThreads(
vtkm::
Id& value) const;
62 VTKM_CONT virtual RuntimeDeviceConfigReturnCode GetDeviceInstance(
vtkm::
Id& value) const;
66 VTKM_CONT virtual RuntimeDeviceConfigReturnCode GetMaxThreads(
vtkm::
Id& value) const;
67 VTKM_CONT virtual RuntimeDeviceConfigReturnCode GetMaxDevices(
vtkm::
Id& value) const;
75 VTKM_CONT virtual
void ParseExtraArguments(
int& argc,
char* argv[]);
81 VTKM_CONT virtual
void InitializeSubsystem();
84 template <typename DeviceAdapterTag>
85 class RuntimeDeviceConfiguration;
91 #endif // vtk_m_cont_internal_RuntimeDeviceConfiguration_h