Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad7643d

Browse files
committedNov 25, 2024·
Add footnote about CUDA
1 parent d80e02a commit ad7643d

File tree

1 file changed

+15
-4
lines changed
  • blog/2024-11-25-optimizing-matmul

1 file changed

+15
-4
lines changed
 

‎blog/2024-11-25-optimizing-matmul/index.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Rust GPU changes this by letting you use Rust to write GPU programs (often calle
4343
These Rust GPU programs are then compiled into [SPIR-V](https://www.khronos.org/spir/),
4444
a low-level format that [most GPUs understand](https://vulkan.gpuinfo.org/). Since
4545
SPIR-V is the format [Vulkan](https://www.vulkan.org/) uses, Rust GPU makes it possible
46-
to integrate Rust-based GPU programs into any Vulkan-compatible workflow.
46+
to integrate Rust-based GPU programs into any Vulkan-compatible workflow[^1].
4747

4848
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).
4949

@@ -82,7 +82,7 @@ To handle communication between our code on the CPU and GPU, we'll use
8282
implements the WebGPU API. On the web, it works directly with the browser's WebGPU
8383
implementation. On native platforms, it translates API calls to the platform's GPU API
8484
(Vulkan, DirectX, or Metal). This lets us run the same code on a wide range of
85-
platforms, including Windows, Linux, macOS[^1], iOS[^2], Android, and the web[^3].
85+
platforms, including Windows, Linux, macOS[^2], iOS[^3], Android, and the web[^4].
8686

8787
By using Rust GPU and `wgpu`, we have a clean, portable setup with everything written in
8888
Rust.
@@ -568,8 +568,19 @@ or get involved, check out the [`rust-gpu` repo on
568568
GitHub](https://github.com/rust-gpu/rust-gpu).
569569
<br/>
570570

571-
[^1]: Technically `wgpu` uses [MoltenVK](https://github.com/KhronosGroup/MoltenVK) or translates to Metal on macOS
572-
[^2]: Technically `wgpu` uses [MoltenVK](https://github.com/KhronosGroup/MoltenVK) or translates to Metal on iOS
571+
[^1]:
572+
Why not CUDA? That is covered by [Rust
573+
CUDA](https://github.com/Rust-GPU/Rust-CUDA), a related project that I am planning
574+
on rebooting soon!
575+
576+
[^2]:
577+
Technically `wgpu` uses [MoltenVK](https://github.com/KhronosGroup/MoltenVK) or
578+
translates to Metal on macOS
579+
573580
[^3]:
581+
Technically `wgpu` uses [MoltenVK](https://github.com/KhronosGroup/MoltenVK) or
582+
translates to Metal on iOS
583+
584+
[^4]:
574585
Technically `wgpu` translates SPIR-V to GLSL (WebGL) or WGSL (WebGPU) via
575586
[naga](https://github.com/gfx-rs/wgpu/tree/trunk/naga) on the web

0 commit comments

Comments
 (0)
Please sign in to comment.