cl.create.context: Create OpenCL context

Description Usage Arguments Details Value

View source: R/rcl.r

Description

Allocates an OpenCL context with one or more devices.

Usage

1

Arguments

devices

One or a list of opencl_device objects.

Details

A finalizer is not registered for contexts, thus they must be freed manually. Contexts must be freed only after all OpenCL objects created with the context are freed.

Value

An opencl_context object.


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