An n-dimensional array for Rust, with OpenCL hardware acceleration implemented using the ocl crate.
Use the opencl
feature flag to enable OpenCL support.
OpenCL is a trademark of Apple Inc. used by permission by the Khronos Group. For more information on OpenCL in general, see:
-
A Gentle Introduction to OpenCL by Matthew Scarpino
-
The OpenCL C Programming Language published by the Khronos Group
-
This excellent overview of OpenCL kernel programming & optimization: https://www.nersc.gov/assets/pubs_presos/MattsonTutorialSC14.pdf
-
A benchmarking tool available for comparing numpy, ndarray and ha-ndarray can be built with
cargo run --bin benchmark --features benchmark
see README.md for more information.