ocl
OpenCL for Rust (by cogciprocate)
autograph
Machine Learning Library for Rust (by charles-r-earp)
Our great sponsors
ocl | autograph | |
---|---|---|
7 | 5 | |
682 | 261 | |
1.3% | - | |
5.9 | 9.2 | |
5 months ago | 5 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
ocl
Posts with mentions or reviews of ocl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
An example for OpenCL 3.0?
Please note that OpenCL consists of two parts: host API and a separate language which is used to write kernels (code which is going to be offloaded to devices). OpenCL specification describes host APIs as C-style APIs and that is what implementors has to provide. However, there are number of various libraries which provides bindings for other languages: - C++ - Python - Go - Rust
-
Non graphical computing on GPU
ocl
-
Resources for Vulkan GPGPU searched
I don't know a lot about Rust, but this looks like a valid set of OpenCL bindings for Rust: https://github.com/cogciprocate/ocl
-
What's the current state of GPU compute in rust?
If you prefer an open alternative to CUDA, there are complete, easy to use und well documented bindings for opencl: https://github.com/cogciprocate/ocl/
autograph
Posts with mentions or reviews of autograph.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-04.
-
Where to Learn Vulkan for parallel computation (with references to porting from CUDA)
I'm working on a machine learning library https://github.com/charles-r-earp/autograph implemented in Rust that uses rust-gpu to compile Rust compute shaders to spirv, and then gfx_hal to target metal and dx12. Training performance is currently about 2x slower than pytorch (cuda) on my laptop but I've made significant progress recently and I am targeting 1.5x. While rust-gpu itself has it's own restrictions, it does support inline spirv assembly, which provides direct access to operations not provided in its std lib, thus it's lower level than GLSL. For example, it should be possible to target cuda tensor cores via cooperative matrix operations (I believe Metal supports these as well but this may not be implemented in spirv-cross and certainly isn't in naga). Once I have things a bit more stabilized I'd like to provide more examples, like porting from cuda / opencl, but I'm still figuring out patterns like how to work with 16 and 8 bit types in a nice and portable way.
-
autograph v0.1.0
autograph v0.1.0
-
What's the current state of GPU compute in rust?
Working on autograph, for machine learning and neural networks. Unlike CUDA / HIP it's threadsafe, but doesn't expose low level things like multiple streams. Most of the shaders are glsl but I'm now using rust_gpu for pure rust gpu code.
-
Announcing neuronika 0.1.0, a deep learning framework in Rust
Maybe not for learning but as inspiration I have to plug this amazing effort for ML with (vulkan) shaders: https://github.com/charles-r-earp/autograph
-
What do you think about a library that helps reducing the overhead of GPU programming, regarding ndimensional Arrays?
Maybe you'd be interested in checking out my library, https://github.com/charles-r-earp/autograph?
What are some alternatives?
When comparing ocl and autograph you can also consider the following projects:
neuronika - Tensors and dynamic neural networks in pure Rust.
RustaCUDA - Rusty wrapper for the CUDA Driver API
petgraph - Graph data structure library for Rust.
nvfancontrol - NVidia dynamic fan control for Linux and Windows
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
vuh - Vulkan compute for people
GLSL - GLSL Shading Language Issue Tracker
VkFFT - Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library
juice - The Hacker's Machine Learning Engine
tractjs - Run ONNX and TensorFlow inference in the browser.
are-we-learning-yet - How ready is Rust for Machine Learning?