File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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
You can’t perform that action at this time.
0 commit comments