diff options
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test.sh b/test.sh new file mode 100755 index 000000000000..7a9e12c442f1 --- /dev/null +++ b/test.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +OUT=$(mktemp -d) +CC=/usr/bin/gcc + +$CC -o "$OUT/test" test.c -L/opt/rocm/lib -lOpenCL -lm +"$OUT"/test |