cuCtxGetDevice: Returns the device ID for the current context

Description Usage Value References See Also

Description

Returns the ordinal of the current context's device.

Usage

1

Value

device

References

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

See Also

cuCtxCreate cuCtxDestroy cuCtxGetApiVersion cuCtxGetCacheConfig cuCtxGetLimit cuCtxPopCurrent cuCtxPushCurrent cuCtxSetCacheConfig cuCtxSetLimit cuCtxSynchronize


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