cuCtxGetCurrent: Returns the CUDA context bound to the calling CPU thread.

Description Usage Value References See Also

Description

Returns the CUDA context bound to the calling CPU thread. If no context is bound to the calling CPU thread then *pctx is set to NULL and CUDA_SUCCESS is returned.

Usage

1

Value

pctx

References

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

See Also

cuCtxSetCurrent cuCtxCreate cuCtxDestroy


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