CMS 3D CMS Logo

List of all members | Public Member Functions
CUDAInterface Class Referenceabstract

#include <CUDAInterface.h>

Inheritance diagram for CUDAInterface:
CUDAService

Public Member Functions

virtual std::pair< int, int > computeCapability (int device) const =0
 
 CUDAInterface ()=default
 
virtual bool enabled () const =0
 
virtual int numberOfDevices () const =0
 
virtual ~CUDAInterface ()=default
 

Detailed Description

Definition at line 6 of file CUDAInterface.h.

Constructor & Destructor Documentation

◆ CUDAInterface()

CUDAInterface::CUDAInterface ( )
default

◆ ~CUDAInterface()

virtual CUDAInterface::~CUDAInterface ( )
virtualdefault

Member Function Documentation

◆ computeCapability()

virtual std::pair<int, int> CUDAInterface::computeCapability ( int  device) const
pure virtual

Implemented in CUDAService.

◆ enabled()

virtual bool CUDAInterface::enabled ( ) const
pure virtual

Implemented in CUDAService.

◆ numberOfDevices()

virtual int CUDAInterface::numberOfDevices ( ) const
pure virtual

Implemented in CUDAService.