VTK-m
2.0
|
Class providing a device-specific runtime support detector. More...
#include <DeviceAdapterRuntimeDetectorCuda.h>
Public Member Functions | |
VTKM_CONT bool | Exists () const |
Returns true if the given device adapter is supported on the current machine. More... | |
Class providing a device-specific runtime support detector.
The class provide the actual implementation used by vtkm::cont::RuntimeDeviceInformation.
A default implementation is provided but device adapters which require physical hardware or other special runtime requirements should provide one (in conjunction with DeviceAdapterAlgorithm) where appropriate.
VTKM_CONT bool vtkm::cont::DeviceAdapterRuntimeDetector< DeviceAdapterTag >::Exists | ( | ) | const |
Returns true if the given device adapter is supported on the current machine.
No default implementation is provided as it could possible cause ODR violations when headers are included in differing order.