Generates a data.frame
of argument definitions
for use in custom_opencl
setup_opencl(objects, intents, queues, kernel_maps = NULL)
character vector of gpuR objects to be passed
character vector specifying 'intent' of gpuR objects.
options include "IN"
,"OUT"
,"INOUT"
list of character vectors reflecting equal length to "objects"
where each element reflects a kernel function defined in an OpenCL kernel file.
The corresponding arguments names in the provided OpenCL kernel corresponds to the gpuR objects passed and contains a character vector of which kernels the object will be enqueued.