Crates.io | cl-sys |
lib.rs | cl-sys |
version | 0.4.3 |
source | src |
created_at | 2016-08-04 17:49:11.453981 |
updated_at | 2023-10-09 20:28:51.301824 |
description | OpenCL FFI bindings. |
homepage | https://github.com/cogciprocate/ocl/tree/master/cl-sys |
repository | https://github.com/cogciprocate/ocl/tree/master/cl-sys |
max_upload_size | |
id | 5890 |
size | 427,813 |
OpenCL C FFI Bindings.
For a high level, easier to use, and far less verbose OpenCL interface (that compiles to virtually the same thing) see the ocl crate.
Example usage exists within the ocl-core repo (see: https://github.com/cogciprocate/ocl/blob/master/ocl-core/src/functions.rs).
If you have need of any unimplemented functionality please file an issue and request it.
Compiling on Windows (particularly MSVC) takes a bit of effort. Better documentation is needed (please contribute!). If you have trouble please file an issue and let us know about the problem so we can improve our documentation.
Your device drivers should include OpenCL drivers. If not, download the appropriate SDK from one of the following links: AMD, NVIDIA, Intel
Licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
“OpenCL and the OpenCL logo are trademarks of Apple Inc. used by
permission by Khronos.”
“Vulkan and the Vulkan logo are trademarks of
the Khronos Group Inc.”