@@ -3,7 +3,6 @@ title: "Optimizing a Rust GPU matmul kernel"
33authors : ["LegNeato"]
44slug : optimizing-matmul
55tags : ["demo", "code", "performance"]
6- draft : true
76---
87
98I read the excellent post [ Optimizing a WebGPU Matmul Kernel for 1TFLOP+
@@ -45,7 +44,8 @@ a low-level format that [most GPUs understand](https://vulkan.gpuinfo.org/). Sin
4544SPIR-V is the format [ Vulkan] ( https://www.vulkan.org/ ) uses, Rust GPU makes it possible
4645to integrate Rust-based GPU programs into any Vulkan-compatible workflow[ ^ 1 ] .
4746
48- For more details, check out the [ Rust GPU website] ( https://Rust-gpu.github.io/ ) or the [ GitHub repository] ( https://github.com/Rust-gpu/Rust-gpu ) .
47+ For more details, check out the [ Rust GPU website] ( http://Rust-gpu.github.io/ ) or the
48+ [ GitHub repository] ( https://github.com/Rust-gpu/Rust-gpu ) .
4949
5050## How does Rust GPU work?
5151
@@ -54,9 +54,12 @@ what the GPU executes. However, Rust GPU doesn't dictate how you handle CPU-to-G
5454communication or data transfer. You're free to choose a host CPU library written in
5555whatever language that fits your project. Some popular options in Rust include:
5656
57- - ** [ ash] ( https://github.com/ash-rs/ash ) ** : Low-level Vulkan bindings for Rust, providing maximum control over Vulkan operations.
58- - ** [ vulkano] ( https://github.com/vulkano-rs/vulkano ) ** : A higher-level Vulkan library that simplifies common tasks.
59- - ** [ wgpu] ( https://github.com/gfx-rs/wgpu ) ** : A cross-platform library that abstracts GPU operations across Vulkan, DirectX, Metal, and WebGPU.
57+ - ** [ ash] ( https://github.com/ash-rs/ash ) ** : Low-level Vulkan bindings for Rust,
58+ providing maximum control over Vulkan operations.
59+ - ** [ vulkano] ( https://github.com/vulkano-rs/vulkano ) ** : A higher-level Vulkan library
60+ that simplifies common tasks.
61+ - ** [ wgpu] ( https://github.com/gfx-rs/wgpu ) ** : A cross-platform library that abstracts
62+ GPU operations across Vulkan, DirectX, Metal, and WebGPU.
6063
6164But again, you don't _ have_ to use Rust for the CPU-side when using Rust on the GPU—any
6265language will do.
0 commit comments