View source: R/custom_opencl.R
custom_opencl | R Documentation |
Compile a custom function using a user provided OpenCL kernel
custom_opencl(kernel, cl_args, type)
kernel |
path to OpenCL kernel file |
cl_args |
A |
type |
The precision on which the kernel is compiled. Options include
|
This function does not return a value directly, but it compiles
the provided OpenCL kernel
and performs necessary operations for using it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.