#include <cudaWrapper.h>
|
enum | DEVICE_INFO : int {
DEVICE_NAME = 0,
GLOBAL_MEMORY = 1,
CONSTANT_MEMORY = 2,
MANAGED_MEMORY = 3,
MP_COUNT = 4,
TOTAL_MP_COUNT = 5,
MAX_THREADS_PER_MP = 6,
WARP_SIZE = 7,
BLOCK_PER_MP = 8,
SHARED_MEMORY_PER_MP = 9,
SHARED_MEMORY_PER_BLOCK = 10,
MAX_THREADS_PER_BLOCK = 11,
MAX_THREADS_DIMENSION = 12,
MAX_GRID_SIZE = 13
} |
|
Definition at line 14 of file cudaWrapper.h.
◆ DEVICE_INFO
Enumerator |
---|
DEVICE_NAME | |
GLOBAL_MEMORY | |
CONSTANT_MEMORY | |
MANAGED_MEMORY | |
MP_COUNT | |
TOTAL_MP_COUNT | |
MAX_THREADS_PER_MP | |
WARP_SIZE | |
BLOCK_PER_MP | |
SHARED_MEMORY_PER_MP | |
SHARED_MEMORY_PER_BLOCK | |
MAX_THREADS_PER_BLOCK | |
MAX_THREADS_DIMENSION | |
MAX_GRID_SIZE | |
Definition at line 17 of file cudaWrapper.h.
◆ getActiveGPUs()
int cudaWrapper::getActiveGPUs |
( |
| ) |
|
|
inline |
◆ getCurrentGPU()
int cudaWrapper::getCurrentGPU |
( |
| ) |
|
|
inline |
◆ getCurThreads()
int cudaWrapper::getCurThreads |
( |
| ) |
|
|
inline |
◆ getDeviceProps()
cudaDeviceProp* cudaWrapper::getDeviceProps |
( |
int |
idx | ) |
|
|
inline |
◆ getInstance()
◆ getMaxThreads()
int cudaWrapper::getMaxThreads |
( |
int |
idx | ) |
|
|
inline |
◆ getNumGPU()
int cudaWrapper::getNumGPU |
( |
| ) |
|
|
inline |
◆ getWarpSize()
int cudaWrapper::getWarpSize |
( |
int |
idx | ) |
|
|
inline |
◆ getWorkload()
int cudaWrapper::getWorkload |
( |
int |
idx | ) |
|
|
inline |
◆ printMemoryInfo()
void cudaWrapper::printMemoryInfo |
( |
int |
idx | ) |
|
◆ releaseInstance()
static void cudaWrapper::releaseInstance |
( |
| ) |
|
|
inlinestatic |
◆ setActiveGPUs()
bool cudaWrapper::setActiveGPUs |
( |
int |
gpus | ) |
|
|
inline |
◆ setCurThreads()
void cudaWrapper::setCurThreads |
( |
int |
thread | ) |
|
|
inline |
◆ setWorkload()
void cudaWrapper::setWorkload |
( |
int |
size | ) |
|
The documentation for this class was generated from the following files: