setup_opencl: Setup OpenCL Arguments

Description Usage Arguments

View source: R/custom_opencl.R

Description

Generates a data.frame of argument definitions for use in custom_opencl

Usage

1
setup_opencl(objects, intents, queues, kernel_maps = NULL)

Arguments

objects

character vector of gpuR objects to be passed

intents

character vector specifying 'intent' of gpuR objects. options include "IN","OUT","INOUT"

queues

list of character vectors reflecting equal length to "objects" where each element reflects a kernel function defined in an OpenCL kernel file.

kernel_maps

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.


gpuR documentation built on May 30, 2019, 1:02 a.m.