A class representing a CUDA device. More...
#include <device_cu.h>
Public Member Functions | |
Device_CU (unsigned int id) | |
~Device_CU () | |
The destructor. | |
bool | isOverlapSupported () |
size_t | getMaxBlockSize () const |
int | getMajorVersion () const |
int | getMinorVersion () const |
unsigned int | getSmPerMultiProc () const |
std::string | getDeviceName () const |
int | getClockRate () const |
int | getAsyncEngineCount () const |
bool | IsConcurrentKernels () const |
unsigned int | getNoConcurrentKernels () const |
int | getNumComputeUnits () const |
size_t | getGlobalMemSize () const |
size_t | getSharedMemPerBlock () const |
size_t | getMaxThreads () const |
size_t | getMaxBlocks () const |
unsigned int | getDeviceID () const |
A class representing a CUDA device.
This class represents one CUDA device which can be used to execute the skeletons on if CUDA is used as backend. Stores various properties about the device and provides functions that return them.
|
inline |
The constructor creates a device from an ID and gets all its properties.
id | Device ID for the device that is to be created. |
|
inline |
|
inline |
test
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by skepu::scanLargeVectorRecursivelyM_CU().
|
inline |
|
inline |
Referenced by skepu::scanLargeVectorRecursivelyM_CU().
|
inline |
|
inline |
Referenced by skepu::Reduce< ReduceFunc, ReduceFunc >::CU().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns whether the device supports overlap (memory,kernel) operation or not