Dynamic bindings to OpenCL
This library provides dynamically-loaded bindings to the system OpenCL library, allowing you to add optional OpenCL support to an application without requiring it as a linker dependency. Two APIs are available - raw, unsafe, one-to-one bindings to the OpenCL C API, and a higher-level, safe(r) and more convenient Rust API.
The safe Rust API is only provided with the
safe feature flag set, which
is enabled by default. If you prefer only the unsafe raw bindings, you can
disable the feature flag by setting
default_features = false for the
dependency in your project manifest.
Raw, unsafe bindings to OpenCL C API, with minimal extras.
An error code returned by an OpenCL API call
An error related to OpenCL
Attempt to load the system OpenCL library, if not already loaded.
An OpenCL result type