Module cl3::context

source · []
Expand description

OpenCL Context API.

Constants

Functions

Create an OpenCL context.
Calls clCreateContext to create an OpenCL context.

Create an OpenCL context from a specific device type.
Calls clCreateContextFromType to create an OpenCL context.

Get data about an OpenCL context. Calls clGetContextInfo to get the desired data about the context.

Get specific information about an OpenCL context.
Calls clGetContextInfo to get the desired information about the context.

Release an OpenCL context.
Calls clReleaseContext to decrement the context reference count.

Retain an OpenCL context.
Calls clRetainContext to increment the context reference count.

Type Definitions