File tree 1 file changed +21
-0
lines changed
blog/2024-11-21-optimizing-matrix-mul/code 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ The Rust code that accompanies the blog post.
2
+
3
+ <!-- truncate -->
4
+
5
+ You will find:
6
+
7
+ 1 . A binary (` blog ` ) that you can run with ` cargo run `
8
+ 2 . Benchmarks that you can run with ` cargo bench `
9
+ 3 . GPU shaders/kernels written in Rust
10
+ 4 . CPU code that takes the shaders and runs it on the GPU (via ` wgpu ` ) or the CPU with a
11
+ simulated harness
12
+ 5 . Some tests that you can run with ` cargo test `
13
+
14
+ A good place to start to get the lay of the land is the workspace's ` Cargo.toml ` in this
15
+ directory.
16
+
17
+ ** Any changes to these files should ensure that the blog post is still correct as it
18
+ uses line numbers to embed code snippets.**
19
+
20
+ Note: Everything needs to be run with ` --release ` to work around
21
+ https://github.com/Rust-GPU/rust-gpu/issues/29 .
You can’t perform that action at this time.
0 commit comments