#include <DeviceAdapterTag.h>
◆ DeviceAdapterId()
constexpr vtkm::cont::DeviceAdapterId::DeviceAdapterId |
( |
vtkm::Int8 |
id | ) |
|
|
inlineexplicitconstexprprotected |
◆ GetName()
◆ GetValue()
constexpr vtkm::Int8 vtkm::cont::DeviceAdapterId::GetValue |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsValueValid()
constexpr bool vtkm::cont::DeviceAdapterId::IsValueValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator!=()
constexpr bool vtkm::cont::DeviceAdapterId::operator!= |
( |
DeviceAdapterId |
other | ) |
const |
|
inlineconstexpr |
◆ operator<()
constexpr bool vtkm::cont::DeviceAdapterId::operator< |
( |
DeviceAdapterId |
other | ) |
const |
|
inlineconstexpr |
◆ operator==()
constexpr bool vtkm::cont::DeviceAdapterId::operator== |
( |
DeviceAdapterId |
other | ) |
const |
|
inlineconstexpr |
◆ make_DeviceAdapterId
Construct a device adapter id a vtkm::Int8.
The mapping of integer value to devices are:
DeviceAdapterTagSerial == 1 DeviceAdapterTagCuda == 2 DeviceAdapterTagTBB == 3 DeviceAdapterTagOpenMP == 4 DeviceAdapterTagKokkos == 5
◆ Value
The documentation for this struct was generated from the following file: