VTK-m  2.2
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

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