Description Usage Arguments Value References See Also
Creates a new CUDA context and associates it with the calling thread. The
flags
parameter is described below. The context is created with a usage
count of 1 and the caller of cuCtxCreate
() must call cuCtxDestroy
() or
when done using the context. If a context is already current to the thread,
it is supplanted by the newly created context and may be restored by a subsequent
call to cuCtxPopCurrent
().
1 | cuCtxCreate(flags, dev)
|
flags |
Context creation flags |
dev |
Device to create context on |
pctx
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cuCtxDestroy
cuCtxGetApiVersion
cuCtxGetCacheConfig
cuCtxGetDevice
cuCtxGetLimit
cuCtxPopCurrent
cuCtxPushCurrent
cuCtxSetCacheConfig
cuCtxSetLimit
cuCtxSynchronize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.