diff --git a/blog/2024-11-21-optimizing-matrix-mul/code/README.md b/blog/2024-11-21-optimizing-matrix-mul/code/README.md new file mode 100644 index 0000000..c664f91 --- /dev/null +++ b/blog/2024-11-21-optimizing-matrix-mul/code/README.md @@ -0,0 +1,19 @@ +The Rust code that accompanies the blog post. + +You will find: + +1. A binary (`blog`) that you can run with `cargo run` +2. Benchmarks that you can run with `cargo bench` +3. GPU shaders/kernels written in Rust +4. CPU code that takes the shaders and runs it on the GPU (via `wgpu`) or the CPU with a + simulated harness +5. Some tests that you can run with `cargo test` + +A good place to start to get the lay of the land is the workspace's `Cargo.toml` in this +directory. + +**Any changes to these files should ensure that the blog post is still correct as it +uses line numbers to embed code snippets.** + +Note: Everything needs to be run with `--release` to work around +https://github.com/Rust-GPU/rust-gpu/issues/29. diff --git a/docusaurus.config.ts b/docusaurus.config.ts index b01583d..b44e0dc 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -54,6 +54,7 @@ const config: Config = { xslt: true, }, editUrl: "https://github.com/Rust-GPU/rust-gpu.github.io/tree/main/", + exclude: ["*/code/**"], onInlineTags: "throw", onInlineAuthors: "throw", onUntruncatedBlogPosts: "throw",