VTK-m  1.8
Public Member Functions | List of all members
vtkm::cont::DeviceAdapterRuntimeDetector< DeviceAdapterTag > Class Template Reference

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...
 

Detailed Description

template<class DeviceAdapterTag>
class vtkm::cont::DeviceAdapterRuntimeDetector< DeviceAdapterTag >

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.

Member Function Documentation

◆ Exists()

template<class DeviceAdapterTag >
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.


The documentation for this class was generated from the following files: