VTK-m
2.2
|
Tag for a device adapter that uses OpenMP compiler extensions to run algorithms on multiple threads. More...
#include <DeviceAdapterTagOpenMP.h>
Public Member Functions | |
constexpr | DeviceAdapterTagOpenMP () |
Public Member Functions inherited from vtkm::cont::DeviceAdapterId | |
constexpr bool | operator== (DeviceAdapterId other) const |
constexpr bool | operator!= (DeviceAdapterId other) const |
constexpr bool | operator< (DeviceAdapterId other) const |
constexpr bool | IsValueValid () const |
Return whether this object represents a valid type of device. More... | |
constexpr vtkm::Int8 | GetValue () const |
Returns the numeric value of the index. More... | |
DeviceAdapterNameType | GetName () const |
Return a name representing the device. More... | |
Static Public Attributes | |
static constexpr bool | IsEnabled = true |
Additional Inherited Members | |
Protected Member Functions inherited from vtkm::cont::DeviceAdapterId | |
constexpr | DeviceAdapterId (vtkm::Int8 id) |
Tag for a device adapter that uses OpenMP compiler extensions to run algorithms on multiple threads.
For this device to work, VTK-m must be configured to use OpenMP and the code must be compiled with a compiler that supports OpenMP pragmas. This tag is defined in vtkm/cont/openmp/DeviceAdapterOpenMP.h
.
|
inlineconstexpr |
|
staticconstexpr |