Functions | |
CUresult | cuCtxAttach (CUcontext *pCtx, unsigned int Flags) |
Increment a context's usage-count. | |
CUresult | cuCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice dev) |
Create a CUDA context. | |
CUresult | cuCtxDestroy (CUcontext ctx) |
Destroy the current context or a floating CUDA context. | |
CUresult | cuCtxDetach (CUcontext pCtx) |
Decrement a context's usage-count. | |
CUresult | cuCtxGetDevice (CUdevice *device) |
Returns the device ID for the current context. | |
CUresult | cuCtxPopCurrent (CUcontext *pCtx) |
Pops the current CUDA context from the current CPU thread. | |
CUresult | cuCtxPushCurrent (CUcontext NewCtx) |
Pushes a floating context on the current CPU thread. | |
CUresult | cuCtxSynchronize (void) |
Block for a context's tasks to complete. |