accel icon indicating copy to clipboard operation
accel copied to clipboard

(Mirror of GitLab) GPGPU Framework for Rust

Accel: GPGPU Framework for Rust

pipeline status

crate crates.io docs.rs GitLab Pages
accel Crate docs.rs cargo-doc CUDA-based GPGPU framework
accel-core Crate docs.rs cargo-doc Helper for writing device code
accel-derive Crate 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
    • Install nightly-2020-05-01 toolchain with nvptx64-nvidia-cuda target, and rust-ptx-linker
    • There is an setup script for them:
curl -sSL https://gitlab.com/termoshtt/accel/raw/master/setup_nvptx_toolchain.sh | bash

Or, you can use docker 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

Links

Projects which accel depends on:

Related Projects: