9 releases

Uses old Rust 2015

0.4.2 Jan 10, 2019
0.4.1 Feb 21, 2018
0.4.0 Nov 11, 2017
0.3.0 Mar 24, 2017
0.2.1 Sep 19, 2016

#136 in Science

Download history 1113/week @ 2021-08-16 1051/week @ 2021-08-23 835/week @ 2021-08-30 1058/week @ 2021-09-06 1079/week @ 2021-09-13 834/week @ 2021-09-20 915/week @ 2021-09-27 643/week @ 2021-10-04 798/week @ 2021-10-11 1043/week @ 2021-10-18 992/week @ 2021-10-25 683/week @ 2021-11-01 642/week @ 2021-11-08 817/week @ 2021-11-15 1081/week @ 2021-11-22 938/week @ 2021-11-29

3,534 downloads per month
Used in 66 crates (6 directly)

MIT/Apache

420KB
1.5K SLoC

OpenCL C FFI Bindings.

Documentation

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.

Troubleshooting

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

License

Licensed under either of:

at your option.

Contribution

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.”*

Dependencies

\7\