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:
124124 No external toolchains or code generation steps are involved.
125125 The kernel runs directly on the CPU as standard Rust code.
126126
127- - ` cargo build --features wgpu ` :
127+ - ` cargo run --features wgpu ` :
128128
129129 _ During the build_ , ` build.rs ` uses [ ` rustc_codegen_spirv ` ] ( https://github.com/rust-gpu/rust-gpu ) to compile the GPU kernel to SPIR-V.
130130 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:
151151 - SPIR-V is passed to Vulkan
152152 - Vulkan executes the kernel on the GPU
153153
154- - ` cargo build --features cuda ` :
154+ - ` cargo run --features cuda ` :
155155
156156 _ During the build_ , ` build.rs ` uses
157157 [ ` 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