Description Usage Arguments Details Value
Allocates an OpenCL context with one or more devices.
1 | cl.create.context(devices)
|
devices |
One or a list of opencl_device objects. |
A finalizer is not registered for contexts, thus they must be freed manually. Contexts must be freed only after all OpenCL objects created with the context are freed.
An opencl_context object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.