SkePU 0.7
Public Member Functions
skepu::Device_CU Class Reference

A class representing a CUDA device. More...

#include <device_cu.h>

List of all members.

Public Member Functions

 Device_CU (int id)
int getMaxBlockSize () const
int getNumComputeUnits () const
size_t getGlobalMemSize () const
size_t getSharedMemPerBlock () const
int getMaxThreads () const
int getMaxBlocks () const
int getDeviceID () const

Detailed Description

A class representing a CUDA device.

Author:
Johan Enmyren, Usman Dastgeer
Version:
0.7

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. There is not much usage of this class in this translated version as StarPU controls all the CUDA devices.


Constructor & Destructor Documentation

skepu::Device_CU::Device_CU ( int  id) [inline]

The constructor creates a device from an ID and gets all its properties.

Parameters:
idDevice ID for the device that is to be created.

Member Function Documentation

int skepu::Device_CU::getDeviceID ( ) const [inline]
Returns:
Device ID.
size_t skepu::Device_CU::getGlobalMemSize ( ) const [inline]
Returns:
The global memory size.
int skepu::Device_CU::getMaxBlocks ( ) const [inline]
Returns:
The maximum number of blocks or groups for a kernel launch.
int skepu::Device_CU::getMaxBlockSize ( ) const [inline]
Returns:
The maximum block size.
int skepu::Device_CU::getMaxThreads ( ) const [inline]
Returns:
The maximum number of threads per block or group.
int skepu::Device_CU::getNumComputeUnits ( ) const [inline]
Returns:
The maximum number of compute units available.
size_t skepu::Device_CU::getSharedMemPerBlock ( ) const [inline]
Returns:
The shared memory size.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Enumerations Friends Defines