RMM
23.12
RAPIDS Memory Manager
|
Files | |
file | cuda_device.hpp |
Classes | |
struct | rmm::cuda_device_id |
Strong type for a CUDA device identifier. More... | |
struct | rmm::cuda_set_device_raii |
RAII class that sets the current CUDA device to the specified device on construction and restores the previous device on destruction. More... | |
Functions | |
cuda_device_id | rmm::get_current_cuda_device () |
Returns a cuda_device_id for the current device. More... | |
int | rmm::get_num_cuda_devices () |
Returns the number of CUDA devices in the system. More... | |
|
inline |
Returns a cuda_device_id
for the current device.
The current device is the device on which the calling thread executes device code.
cuda_device_id
for the current device
|
inline |
Returns the number of CUDA devices in the system.