Module cl3::sampler[][src]

Expand description

OpenCL Sampler API.

Enums

Functions

Create an OpenCL buffer sampler for a context.
Calls clCreateSampler to create an OpenCL sampler object.
Deprecated in CL_VERSION_2_0 by create_sampler_with_properties.

Create an OpenCL buffer sampler for a context.
Calls clCreateSamplerWithProperties to create an OpenCL sampler object.
CL_VERSION_2_0

Get data about an OpenCL sampler object. Calls clGetDeviceInfo to get the desired data about the sampler object.

Get information specific to an OpenCL sampler object.
Calls clGetImageInfo to get the desired information about the sampler object.

Release an OpenCL sampler.
Calls clReleaseMemObject to decrement the sampler reference count.

Retain an OpenCL sampler.
Calls clRetainSampler to increment the sampler reference count.