Description Usage Arguments Details References
CUDA device management utilities.
1 2 3 4 5 6 7 |
device |
A non-negative integer corresponding to the GPU you want to use. |
cudaDeviceReset()
Destroys all allocations and resets state on the
current device in the current process.
cudaGetDevice()
returns the device number (0, 1, ...) currently in use.
cudaGetDeviceCount()
returns the number of available GPU's.
cudaSetDevice()
sets the device to the supplied number (0, 1, ...).
NVIDIA CUDA Runtime API https://docs.nvidia.com/cuda/cuda-runtime-api/index.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.