Description Usage Arguments Details Value
Creates a program from a pre-compiled OpenCL binary
1 | cl.load.binary(path, context, devs)
|
path |
File path of the binary |
context |
An opencl_context object |
devs |
A list of devices to load the binary into |
Loads an OpenCL binary. Can only load a binary into the same device as the binary was built with. So a compiled CPU kernel cannot be loaded into a GPU context.
An opencl_program object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.