cudaGetDevice: Returns which device is currently being used

Description Usage Value References See Also

Description

Returns the current device for the calling host thread.

Usage

1

Value

device

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cudaGetDeviceCount cudaSetDevice cudaGetDeviceProperties cudaChooseDevice


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.