Skip to content

Commit

Permalink
add prediff for num gpus
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Mar 11, 2024
1 parent 5208ad7 commit 17f6f6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/gpu/native/studies/minibude/Bude.good
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ config:
wgsize: [64]
device: { index: 0, name: "Chapel CPU" }

Running Chapel on 1 GPU
Running Chapel on NN GPUs

Largest difference was less than 0.020%.

5 changes: 5 additions & 0 deletions test/gpu/native/studies/minibude/Bude.prediff
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

# filter number of gpus run on from output
cat $2 | sed 's/Running Chapel on [0-9]\+ GPUs\{0,1\}/Running Chapel on NN GPUs/' > $2.prediff.tmp
mv $2.prediff.tmp $2

0 comments on commit 17f6f6f

Please sign in to comment.