RustaCUDA
Rusty wrapper for the CUDA Driver API (by bheisler)
blub
3D fluid simulation experiments in Rust, using WebGPU-rs (WIP) (by Wumpf)
Our great sponsors
RustaCUDA | blub | |
---|---|---|
3 | 1 | |
743 | 361 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
blub
Posts with mentions or reviews of blub.
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?
Crates for OpenCL and CUDA APIs are generally lagging behind in feature support. I think we are still long way from seeing v1.0+ releases on those. One of the most active ones in recent development has been opencl3 crate. Then, there are also some examples like blub using compute shaders with wgpu crate.
What are some alternatives?
When comparing RustaCUDA and blub you can also consider the following projects:
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
autograph - Machine Learning Library for Rust
cuda-sys - Rust binding to CUDA APIs
wgpu - Cross-platform, safe, pure-rust graphics api.
arrayfire-rust - Rust wrapper for ArrayFire
ocl - OpenCL for Rust
Egregoria - Contemplative society simulation
pilka - Another live-coding tool for creating shader demos, Vulkan+Wgpu powered.
rui - Declarative Rust UI library