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 74644bf commit 954164aCopy full SHA for 954164a
bin/run_ovo.sh
@@ -19,8 +19,8 @@ AOMP_GPU=${AOMP_GPU:-`$AOMP/bin/mygpu`}
19
PATH=$AOMP/bin:$PATH
20
CXX=clang++
21
FC=$FLANG
22
-FFLAGS="-O2 -target x86_64-pc-linux-gnu -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=$AOMP_GPU"
23
-CXXFLAGS="-O2 -target x86_64-pc-linux-gnu -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=$AOMP_GPU"
+FFLAGS="-O2 -fopenmp --offload-arch=$AOMP_GPU"
+CXXFLAGS="-O2 -fopenmp --offload-arch=$AOMP_GPU"
24
OMP_TARGET_OFFLOAD=mandatory
25
26
export AOMP AOMP_GPU PATH CXX FC FFLAGS CXXFLAGS OMP_TARGET_OFFLOAD
0 commit comments