6 releases

0.3.1 May 24, 2020
0.3.0 May 3, 2020
0.3.0-alpha.2 Apr 5, 2020
0.3.0-alpha.1 Jan 11, 2020
0.1.0 Nov 20, 2017

#715 in Hardware support

Download history 1/week @ 2024-02-13 28/week @ 2024-02-20 22/week @ 2024-02-27 10/week @ 2024-03-05 9/week @ 2024-03-12

70 downloads per month
Used in accel-derive

MIT/Apache

110KB
2.5K SLoC

Contains (ELF exe/lib, 2KB) tests/data/sub.cubin, (ELF exe/lib, 2KB) tests/data/add.cubin

Accel: GPGPU Framework for Rust

pipeline status

crate crates.io docs.rs GitLab Pages
accel docs.rs cargo-doc CUDA-based GPGPU framework
accel-core docs.rs cargo-doc Helper for writing device code
accel-derive docs.rs cargo-doc Procedural macro for generating kernel code

Requirements

minimum supported rust version

  • Minimum Supported Rust Version (MSRV) is 1.42.0
  • Install CUDA on your system
    • accel depends on CUDA Device APIs through rust-cuda/cuda-sys
    • accel does not depend on CUDA Runtime APIs. It means that a compiled binary requires only libcuda.so at runtime, which is far lighter than entire CUDA development toolkit.
  • Setup NVPTX target of Rust
curl -sSL https://gitlab.com/termoshtt/accel/raw/master/setup_nvptx_toolchain.sh | bash

Or, you can use docekr container

Limitations

This project is still in early stage. There are several limitations as following:

Contribution

This project is developed on GitLab and mirrored to GitHub.

Sponsors

Projects which accel depends on:

Related Projects:

Dependencies

~1.3–2.4MB
~51K SLoC