Additional run script that needed the AOMP_GPU update.
@@ -26,11 +26,18 @@ thisdir=$(getdname $0)
patchrepo $AOMP_REPOS_TEST/$AOMP_OMPTESTS_REPO_NAME
+# Setup AOMP variables
AOMP=${AOMP:-/usr/lib/aomp}
-AOMP_GPU=${AOMP_GPU:-`$AOMP/bin/mygpu`}
+
+# Use function to set and test AOMP_GPU
+setaompgpu
+
DEVICE_ARCH=${DEVICE_ARCH:-$AOMP_GPU}
DEVICE_TARGET=${DEVICE_TARGET:-amdgcn-amd-amdhsa}
+echo DEVICE_ARCH = $DEVICE_ARCH
+echo DEVICE_TARGET = $DEVICE_TARGET
+
pushd $AOMP_REPOS_TEST/$AOMP_OMPTESTS_REPO_NAME
rm -f runtime-fails.txt
rm -f compile-fails.txt
