VTK-m  2.1
Public Member Functions | Private Attributes | List of all members
vtkm::cont::DeviceAdapterRuntimeDetector< vtkm::cont::DeviceAdapterTagCuda > Class Reference

Class providing a CUDA runtime support detector. More...

#include <DeviceAdapterRuntimeDetectorCuda.h>

Public Member Functions

 DeviceAdapterRuntimeDetector ()
 
bool Exists () const
 Returns true if the given device adapter is supported on the current machine. More...
 

Private Attributes

vtkm::Int32 NumberOfDevices
 
vtkm::Int32 HighestArchSupported
 

Detailed Description

Class providing a CUDA runtime support detector.

The class provide the actual implementation used by vtkm::cont::RuntimeDeviceInformation for the CUDA backend.

We will verify at runtime that the machine has at least one CUDA capable device, and said device is from the 'fermi' (SM_20) generation or newer.

Constructor & Destructor Documentation

◆ DeviceAdapterRuntimeDetector()

Member Function Documentation

◆ Exists()

Returns true if the given device adapter is supported on the current machine.

Only returns true if we have at-least one CUDA capable device of SM_20 or greater ( fermi ).

Member Data Documentation

◆ HighestArchSupported

◆ NumberOfDevices


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