Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For example, like the GPUCompute and Kernel functions in this code.
I've been looking for such a crate on crates.io but all I could find was the arrayfire and Rustacuda crates. Arrayfire seems out of the question for me because I have a function that is meant to be executed on all threads of the GPU, each execution of the function on a GPU thread returns a simple struct of 3 floats. Rustacuda is kind of what I'm looking for but unfortunately it only supports calling C Cuda external functions and does not support calling Rust functions you created.
https://github.com/embarkstudios/rust-gpu Allows you to create shaders (kernals) in Rust.
Related posts
- What's the coolest Rust project you've seen that made you go, 'Wow, I didn't know Rust could do that!'?
- [rust-gpu] How do I run/build my own shaders locally?
- Posh: Type-Safe Graphics Programming in Rust
- Introducing posh: Type-Safe Graphics Programming in Rust
- With what languages are video games like League of Legends (most likely) programmed?