Description Usage Arguments Value Author(s) References See Also
This function ensures that the CUDA SDK is initialized. Typically, we don't have to explicitly initialize CUDA as it will be initialized when we call other functions.
1 | cuInit(flags = 0L)
|
flags |
an integer vector giving the configuration parameters for
starting the CUDA SDK. Currently this must be the number |
This either returns 0L
, indicating success, or raises an error.
Duncan Temple Lang
createContext
and cuGetContext
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.