Strong type for a CUDA device identifier. More...
#include <cuda_device.hpp>
Public Types | |
| using | value_type = int |
| Integer type used for device identifier. | |
Public Member Functions | |
| cuda_device_id () noexcept | |
Construct a cuda_device_id from the current device. | |
| constexpr | cuda_device_id (value_type dev_id) noexcept |
Construct a cuda_device_id from the specified integer value. More... | |
| constexpr value_type | value () const noexcept |
| The wrapped integer value. More... | |
Strong type for a CUDA device identifier.
|
inlineexplicitconstexprnoexcept |
Construct a cuda_device_id from the specified integer value.
| dev_id | The device's integer identifier |
|
inlineconstexprnoexcept |
The wrapped integer value.