add sm_30 to default NVPTX gpus, also add gpus that are the default set in CMakeLists.txt for building nvptx deviceRTLS
@@ -80,8 +80,6 @@ AOMP_STANDALONE_BUILD=${AOMP_STANDALONE_BUILD:-1}
if [ "$AOMP_PROC" == "ppc64le" ] ; then
AOMP_BUILD_CUDA=1
AOMP_STANDALONE_BUILD=1
-else
- AOMP_BUILD_CUDA=0
fi
if [ $AOMP_STANDALONE_BUILD == 1 ] ; then
# Default is to build nvptx for STANDALONE build
@@ -118,7 +116,7 @@ fi
# Set list of default nvptx subarchitectures to build
# Only Cuda 9 and above supports sm_70
if [ "$AOMP_BUILD_CUDA" == 1 ] ; then
- NVPTXGPUS_DEFAULT="30,32,35,50,60,61"
+ NVPTXGPUS_DEFAULT="30,35,37,50,52,53,60,61,62"
if [ -f $CUDA/version.txt ] ; then
if [ `head -1 $CUDA/version.txt | cut -d " " -f 3 | cut -d "." -f 1` -ge 9 ] ; then
NVPTXGPUS_DEFAULT+=",70"
