- Getting Started - GPU Computing with Rust using CUDA
Now that you have some kernels defined in a crate, you can build them easily using cuda_builder cuda_builder is a helper crate similar to spirv_builder (if you have used rust-gpu before), it builds GPU crates while passing everything needed by rustc
- wgpu_hal - Rust - Docs. rs
This crate defines a set of traits abstracting over modern graphics APIs, with implementations (“backends”) for Vulkan, Metal, Direct3D, and GL wgpu-hal is a spiritual successor to gfx-hal, but with reduced scope, and oriented towards WebGPU implementation goals
- GitHub - raphamorim wgpu-simd: Safe and portable GPU abstraction in . . .
The naga, wgpu-core, wgpu-hal, and wgpu-types crates should never require an MSRV ahead of Firefox's MSRV for nightly builds, as determined by the value of MINIMUM_RUST_VERSION in python mozboot mozboot util py
- wgpu - crates. io: Rust Package Registry
wgpu is a cross-platform, safe, pure-rust graphics API It runs natively on Vulkan, Metal, D3D12, and OpenGL; and on top of WebGL2 and WebGPU on wasm The API is based on the WebGPU standard It serves as the core of the WebGPU integration in Firefox, Servo, and Deno Contributors are welcome! See CONTRIBUTING md for more information
- rust-gpu-tools — Rust gfx library Lib. rs
MIT Apache 86KB 1 5K SLoC rust-gpu-tools An abstraction library to run kernels on both CUDA and OpenCL Example You need to write the code that interacts with the GPU only once Below is such code that runs a kernel on CUDA and or OpenCL For a full working example, please see the examples directory You can run it via cargo run --example add
- Resources for computing non-graphics processes on the GPU
Is there any API, crate, or other resource that allows you to post custom calculations processes to the GPU? The concept you should be looking for is “compute shaders”
- wgpu_hal - Rust
This crate defines a set of traits abstracting over modern graphics APIs, with implementations (“backends”) for Vulkan, Metal, Direct3D, and GL wgpu-hal is a spiritual successor to gfx-hal, but with reduced scope, and oriented towards WebGPU implementation goals
- Rust GPU
With Rust GPU, you can seamlessly develop for both CPU and GPU using a unified codebase while benefiting from Rust's existing ecosystem The Rust GPU compiler backend emits code compatible with Vulkan, ensuring your code runs across a wide range of devices and vendors
|