@@ -3,7 +3,6 @@ title: "Optimizing a Rust GPU matmul kernel"
3
3
authors : ["LegNeato"]
4
4
slug : optimizing-matmul
5
5
tags : ["demo", "code", "performance"]
6
- draft : true
7
6
---
8
7
9
8
I 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
45
44
SPIR-V is the format [ Vulkan] ( https://www.vulkan.org/ ) uses, Rust GPU makes it possible
46
45
to integrate Rust-based GPU programs into any Vulkan-compatible workflow[ ^ 1 ] .
47
46
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 ) .
49
49
50
50
## How does Rust GPU work?
51
51
@@ -54,9 +54,12 @@ what the GPU executes. However, Rust GPU doesn't dictate how you handle CPU-to-G
54
54
communication or data transfer. You're free to choose a host CPU library written in
55
55
whatever language that fits your project. Some popular options in Rust include:
56
56
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.
60
63
61
64
But again, you don't _ have_ to use Rust for the CPU-side when using Rust on the GPU—any
62
65
language will do.
0 commit comments