7 releases (4 breaking)
| 0.5.0 | Jan 30, 2026 |
|---|---|
| 0.4.0 | Aug 13, 2024 |
| 0.3.1 | Feb 11, 2024 |
| 0.3.0 | Dec 20, 2023 |
| 0.1.0 | Aug 15, 2023 |
#1023 in Math
58 downloads per month
Used in 7 crates
(2 directly)
395KB
12K
SLoC
ha-ndarray
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 is available in the
benchmarkbranch and can be built withcargo run --bin benchmark --features benchmarksee README.md for more information.
Dependencies
~8–11MB
~276K SLoC