Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RustaCUDA
Posts with mentions or reviews of RustaCUDA.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-20.
-
What's the current state of GPU compute in rust?
I think at the moment the I would use https://github.com/bheisler/RustaCUDA/ and C/C++ `.cu` files with `extern "C"` to call from Rust. Even though there are experiments to have nvptx as a compilation target for Rust.
-
Using CUDA from Rust?
RustaCuda: https://github.com/bheisler/RustaCUDA
-
State of CUDA on Rust in the beginning of 2021 ?
Once you have a compiled kernel (in Rust or CUDA C), RustaCUDA provides basic bindings to load and execute it. I haven't been maintaining or extending it for a while now since I haven't been doing GPGPU stuff, but it should still work, at least for the parts of the API that it exposes.
accel
Posts with mentions or reviews of accel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-29.
-
Is there a crate for CPU/GPU agnostic code in Rust (like Kokkos for C++)
I can confirm, I looked at the subject recently and compute GPU on Rust is at best at the alpha stage (see accel for example if you are familiar with CUDA).
-
Using CUDA from Rust?
Accel: https://gitlab.com/termoshtt/accel
What are some alternatives?
When comparing RustaCUDA and accel you can also consider the following projects:
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
cuda-sys - Rust binding to CUDA APIs
autograph - Machine Learning Library for Rust
blub - 3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)
arrayfire-rust - Rust wrapper for ArrayFire
wgpu - Cross-platform, safe, pure-rust graphics api.
pilka - Another live-coding tool for creating shader demos, Vulkan+Wgpu powered.
ocl - OpenCL for Rust
squad-mortar-helper - 💣 SMH – a computer vision project for automatic, precision mortar strike calculations in Squad