custom_opencl: Custom OpenCL Kernels

Description Usage Arguments

View source: R/custom_opencl.R

Description

Compile a custom function using a user provided OpenCL kernel

Usage

1

Arguments

kernel

path to OpenCL kernel file

cl_args

A data.frame that contains argument definitions. Provided by setup_opencl

type

The precision on which the kernel is compiled. Options include "int", "float", and "double"


cdeterman/gpuR documentation built on July 13, 2019, 3:15 a.m.