cl.create.program: Create OpenCL program

Description Usage Arguments Value

View source: R/rcl.r

Description

Creates an OpenCL program from source code.

Usage

1
cl.create.program(context, source_code, build = F)

Arguments

context

An opencl_context object

source_code

The source code of the OpenCL kernel

build

Automatically build the program

Value

An opencl_program object


caffeine-overload/rocl documentation built on May 6, 2019, 7:02 p.m.