We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6158e12 commit 5c6acc0Copy full SHA for 5c6acc0
.github/workflows/bench.yml
@@ -49,7 +49,7 @@ jobs:
49
labels: frontier
50
flag: f
51
device: gpu
52
- build_script: "bash .github/workflows/frontier/build.sh gpu"
+ build_script: "bash .github/workflows/frontier/build.sh gpu bench"
53
runs-on:
54
group: ${{ matrix.group }}
55
labels: ${{ matrix.labels }}
.github/workflows/frontier/build.sh
@@ -6,4 +6,12 @@ if [ "$1" == "gpu" ]; then
6
fi
7
8
. ./mfc.sh load -c f -m g
9
-./mfc.sh test --dry-run -j 8 $build_opts
+
10
+if [ "$2" == "bench" ]; then
11
+ for dir in benchmarks/*/; do
12
+ dirname=$(basename "$dir")
13
+ ./mfc.sh run "$dir/case.py" --case-optimization -j 8 --dry-run $build_opts
14
+ done
15
+else
16
+ ./mfc.sh test --dry-run -j 8 $build_opts
17
+fi
0 commit comments