Skip to content

Commit

Permalink
Benchmark also wide and view result
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 29, 2024
1 parent 6156dc1 commit fafa82d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion yard-rs/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ try-wp: (prep-ex "https://github.com/Wumpf/wgpu-profiler" "wgpu-profiler" "main"
try-cl EX="gelu": (prep-ex "https://github.com/tracel-ai/cubecl" "cubecl" "main")
cd {{example_xp / "cubecl" }} && cargo run --release --example {{EX}}

[group('ex')]
try-mbc CASE="scalar": (prep-ex "https://github.com/utensil/mathbench-rs" "mathbench-rs" "master")
#!/usr/bin/env bash
cd {{example_xp / "mathbench-rs" }}
cargo bench --features {{CASE}} {{CASE}}
[group('ex')]
v-mbc:
#!/usr/bin/env bash
cd {{example_xp / "mathbench-rs" }}
uv run --with prettytable scripts/summary.py glam nalgebra ultraviolet
# run just prep-tch before running the tch examples!!

# basics
Expand Down Expand Up @@ -250,4 +262,5 @@ prep-krnl:
cargo +nightly-2023-05-27 install krnlc --git https://github.com/charles-r-earp/krnl --rev 96b5d97205ba2cd08ad65e99d758c26349c31b24 --locked
# cargo +nightly-2023-05-27 install krnlc --locked
cd .. && rm -rf target/krnlc
cd krnl-xp && (rm krnl-cache.rs || true) && krnlc
cd krnl-xp && (rm krnl-cache.rs || true) && krnlc

0 comments on commit fafa82d

Please sign in to comment.