Accel: GPGPU Framework for Rust

July 2, 2020 ยท View on GitHub

pipeline status

cratecrates.iodocs.rsGitLab Pages
accelCratedocs.rscargo-docCUDA-based GPGPU framework
accel-coreCratedocs.rscargo-docHelper for writing device code
accel-deriveCratedocs.rscargo-docProcedural 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 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

Projects which accel depends on:

Related Projects: