#scientific-computing #opencl #matrix-vector #gpu #linear-algebra #matrix #vector

gpurs

GPU acceleration/linear algebra crate for scientific computing

5 releases (3 breaking)

0.4.0 Nov 25, 2023
0.3.1 Oct 17, 2023
0.2.0 Oct 11, 2023
0.1.1 Oct 8, 2023

#1629 in Math

Download history 2/week @ 2024-09-22 1/week @ 2024-09-29

54 downloads per month

Apache-2.0

185KB
3K SLoC

gpurs

crates.io docs.io License

Welcome to gpurs (pronounced "Jeepers!"), a general-purpose linear algebra toolkit for scientific computing including GPU acceleration through OpenCL.

Notices

  • This crate is currently very much in development, and every feature and piece of syntax is subject to change. I'm trying to slow down with the major syntactic overhauls, but no promises.

  • This crate loads GPU accelerator modules and thus requires the OpenCL SDK by default. To opt out of this (for instance if you have no GPU) set the flag default-features = false when adding gpurs to your Cargo.toml file.

    • For NVIDIA GPUs, the OpenCL SDK is available through the CUDA installer.

Documentation

  • GitHub Wiki (Deep dives into specific functionality with examples)
  • RustDocs (Has descriptions of most functions with example code)

Dependencies

~0–290KB