Skip to content

Commit 9eb317b

Browse files
authored
Modify device type handling in submit.sh
1 parent fa2d526 commit 9eb317b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/frontier/submit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ job_slug="$job_slug"
4848
job_device="$2"
4949
job_interface="$3"
5050
51-
. ./mfc.sh load -c f -m g
51+
. ./mfc.sh load -c f -m $([ "$2" = "gpu" ] && echo "g" || echo "c")
5252
5353
$sbatch_script_contents
5454

0 commit comments

Comments
 (0)