Compile a custom function using a user provided OpenCL kernel
custom_opencl(kernel, cl_args, type)
This function does not return a value directly, but it compiles
the provided OpenCL kernel
and performs necessary operations for using it.
path to OpenCL kernel file
A data.frame
that contains argument definitions.
Provided by setup_opencl
The precision on which the kernel is compiled. Options include
"int"
, "float"
, and "double"