◆ attribute()
int Device::attribute |
( |
CUdevice_attribute |
attrib | ) |
const |
Returns information about the device, see CUdevice_attribute
- Parameters
-
attrib | CUDA device attribute |
- Returns
- device attribute value
◆ bus_width()
int yacx::Device::bus_width |
( |
| ) |
const |
|
inline |
Global memory bus width in bits
- Returns
- bus width
◆ clock_rate()
int yacx::Device::clock_rate |
( |
| ) |
const |
|
inline |
Peak clock frequency in kilohertz
- Returns
- peak clock frequency
◆ getDownloadStream()
CUstream Device::getDownloadStream |
( |
| ) |
|
returns the downloadstream for arguments of this device
- Returns
- downloadstream
◆ getLaunchStream()
CUstream Device::getLaunchStream |
( |
| ) |
|
returns the launchstream for arguments of this device
- Returns
- launchstream
◆ getPrimaryContext()
CUcontext Device::getPrimaryContext |
( |
| ) |
|
returns the primary context of this device
- Returns
- primary context
◆ getUploadStream()
CUstream Device::getUploadStream |
( |
| ) |
|
returns the uploadstream for arguments of this device
- Returns
- uploadstream
◆ major_version()
int yacx::Device::major_version |
( |
| ) |
const |
|
inline |
Major compute capability version number
- Returns
- version number
◆ max_block_dim()
dim3 Device::max_block_dim |
( |
| ) |
|
Max blocks available on device
- Returns
- block returns block with maximum dimension
◆ max_grid_dim()
dim3 Device::max_grid_dim |
( |
| ) |
|
Max grids available on device
- Returns
- grid returns grid with maximum dimension
◆ max_shared_memory_per_block()
size_t yacx::Device::max_shared_memory_per_block |
( |
| ) |
const |
|
inline |
Maximum shared memory available per block in bytes
- Returns
- Shared Memory in bytes
◆ max_shared_memory_per_multiprocessor()
size_t yacx::Device::max_shared_memory_per_multiprocessor |
( |
| ) |
const |
|
inline |
Maximum shared memory available per multiprocessor in bytes
- Returns
- Shared Memory in bytes
◆ memory_clock_rate()
int yacx::Device::memory_clock_rate |
( |
| ) |
const |
|
inline |
Peak memory clock frequency in kilohertz
- Returns
- peak memory clock frequency
◆ minor_version()
int yacx::Device::minor_version |
( |
| ) |
const |
|
inline |
Minor compute capability version number
- Returns
- version number
◆ multiprocessor_count()
size_t yacx::Device::multiprocessor_count |
( |
| ) |
const |
|
inline |
Number of multiprocessors on device
- Returns
- number of multiprocessors
◆ name()
std::string yacx::Device::name |
( |
| ) |
const |
|
inline |
identifer string for the device
- Returns
- identifer string
◆ total_memory()
size_t yacx::Device::total_memory |
( |
| ) |
const |
|
inline |
Memory available on device for constant variables in a CUDA C kernel in bytes
- Returns
- Memory in bytes
◆ uuid()
std::string yacx::Device::uuid |
( |
| ) |
const |
|
inline |
uuid for the device
- Returns
- 16-byte UUID of the device as hexadecimal string
The documentation for this class was generated from the following files: