Viskores
1.0
|
Tag for a device adapter that uses a CUDA capable GPU device. More...
#include <DeviceAdapterTagCuda.h>
Public Member Functions | |
constexpr | DeviceAdapterTagCuda () |
![]() | |
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 viskores::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 = false |
Additional Inherited Members | |
![]() | |
constexpr | DeviceAdapterId (viskores::Int8 id) |
Tag for a device adapter that uses a CUDA capable GPU device.
For this device to work, Viskores must be configured to use CUDA and the code must be compiled by the CUDA nvcc
compiler. This tag is defined in viskores/cont/cuda/DeviceAdapterCuda.h
.
|
inlineconstexpr |
|
staticconstexpr |