gpgpru
A crate for building GPGPU computations by connecting Slang shaders to Rust functions
What does it do?
Developers write shaders in Slang and add #[kernel] to Rust function signatures. Compile-time reflection handles push descriptors and push constants, validates layouts, and addresses pipeline barrier hazards. Examples include a basic GEMM benchmark that shows how the compute code is used. The project is available under the AGPL-3.0 license.
Key features
- Write Slang shaders and mark Rust functions with #[kernel].
- Handle push descriptors and push constants through compile-time reflection.
- Validate layouts and address pipeline barrier hazards.
- Provide a basic GEMM benchmark example.