You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/2025-07-25-rust-on-every-gpu.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ simple developer experience. Here is roughly what happens for a given command:
124
124
No external toolchains or code generation steps are involved.
125
125
The kernel runs directly on the CPU as standard Rust code.
126
126
127
-
-`cargo build --features wgpu`:
127
+
-`cargo run --features wgpu`:
128
128
129
129
_During the build_, `build.rs` uses [`rustc_codegen_spirv`](https://github.com/rust-gpu/rust-gpu) to compile the GPU kernel to SPIR-V.
130
130
The resulting SPIR-V is embedded into the CPU binary as static data.
@@ -151,7 +151,7 @@ simple developer experience. Here is roughly what happens for a given command:
151
151
- SPIR-V is passed to Vulkan
152
152
- Vulkan executes the kernel on the GPU
153
153
154
-
-`cargo build --features cuda`:
154
+
-`cargo run --features cuda`:
155
155
156
156
_During the build_, `build.rs` uses
157
157
[`rustc_codegen_nvvm`](https://github.com/Rust-GPU/Rust-CUDA) to compile the GPU
0 commit comments