Description Usage Arguments References See Also
Sets device
as the current device for the calling host thread.
Valid device id's are 0 to (cudaGetDeviceCount
() - 1).
1 | cudaSetDevice(device = 1L)
|
device |
Device on which the active host thread should execute the |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cudaGetDeviceCount
cudaGetDevice
cudaGetDeviceProperties
cudaChooseDevice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.