RustaCUDA
Rusty wrapper for the CUDA Driver API (by bheisler)
arrayfire-rust
Rust wrapper for ArrayFire (by arrayfire)
Our great sponsors
RustaCUDA | arrayfire-rust | |
---|---|---|
3 | 4 | |
743 | 804 | |
- | -0.4% | |
0.0 | 0.0 | |
almost 2 years ago | 7 months ago | |
Rust | Rust | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" 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.
arrayfire-rust
Posts with mentions or reviews of arrayfire-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-26.
-
Making a better Tensorflow thanks to strong typing
Take a look at arrayfire-rust! :)
-
Fast Linear Algebra library for Rust
I haven't tried it myself, but I believe that arrayfire-rust supports GPU.
-
Saving an ArrayFire Array
the Git Repo is here.
-
State of CUDA on Rust in the beginning of 2021 ?
edit: I apparently missed seeing ArrayFire Rust library. It looks like if you wanted to still use Rust and CUDA this might be your best option for at least compute applications.
What are some alternatives?
When comparing RustaCUDA and arrayfire-rust you can also consider the following projects:
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
nalgebra - Linear algebra library for Rust.
cuda-sys - Rust binding to CUDA APIs
futhark - :boom::computer::boom: A data-parallel functional programming language
autograph - Machine Learning Library for Rust
rust-opencl - OpenCL bindings for Rust.
blub - 3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)
ILGPU - ILGPU JIT Compiler for high-performance .Net GPU programs
wgpu - Cross-platform, safe, pure-rust graphics api.
collenchyma - Extendable HPC-Framework for CUDA, OpenCL and common CPU
pilka - Another live-coding tool for creating shader demos, Vulkan+Wgpu powered.
Emu - The write-once-run-anywhere GPGPU library for Rust