A CUDA-enabled device.
More...
#include <Device.h>
isce3::cuda::core::Device::Device |
( |
int |
id | ) |
|
Construct a new Device object.
Does not change the currently active CUDA device.
- Exceptions
-
isce::except::InvalidArgument | if the specified device is a not a valid CUDA device |
- Parameters
-
Get the compute capability.
int isce3::cuda::core::Device::id |
( |
| ) |
const |
|
inlinenoexcept |
Return the (0-based) device index.
std::string isce3::cuda::core::Device::name |
( |
| ) |
const |
Return a string identifying the device.
size_t isce3::cuda::core::Device::totalGlobalMem |
( |
| ) |
const |
Get the total global memory capacity in bytes.
The documentation for this class was generated from the following file: