From f1f9d6ec42b9583a724fb2fb054f0536002b6e15 Mon Sep 17 00:00:00 2001 From: Wesley Maxey Date: Fri, 11 Mar 2022 13:39:03 -0800 Subject: [PATCH] Fix tests that rely on the SM detection script, extra line caused issues in script --- .upstream-tests/utils/nvidia/linux/perform_tests.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.upstream-tests/utils/nvidia/linux/perform_tests.bash b/.upstream-tests/utils/nvidia/linux/perform_tests.bash index 0a7a293a40..fd7b39f17c 100755 --- a/.upstream-tests/utils/nvidia/linux/perform_tests.bash +++ b/.upstream-tests/utils/nvidia/linux/perform_tests.bash @@ -71,7 +71,7 @@ function section_separator { LIBCXX_LOG=$(mktemp) LIBCUDACXX_LOG=$(mktemp) -KNOWN_COMPUTE_ARCHS="35 50 52 53 60 61 62 70 72 75 80" +KNOWN_COMPUTE_ARCHS="35 50 52 53 60 61 62 70 72 75 80 86 87" function report_and_exit { # If any of the lines searched for below aren't present in the log files, the @@ -254,8 +254,8 @@ then LIBCUDACXX_SITE_CONFIG=${LIBCUDACXX_LIT_SITE_CONFIG} \ bash -c "lit ${DETECTION_LIT_FLAGS} ${LIBCUDACXX_PATH}/test/nothing_to_do.pass.cpp -Dcompute_archs=\"${KNOWN_COMPUTE_ARCHS}\"" \ + > ${ARCH_DETECTION_LOG} 2>&1 - > ${ARCH_DETECTION_LOG} 2>&1 if [ "${PIPESTATUS[0]}" != "0" ] then cat ${ARCH_DETECTION_LOG} @@ -361,7 +361,7 @@ then LIBCUDACXX_SITE_CONFIG=${LIBCUDACXX_LIT_SITE_CONFIG} \ bash -c "${LIT_PREFIX} lit ${LIT_FLAGS} ${LIT_COMPUTE_ARCHS_FLAG}${LIBCUDACXX_COMPUTE_ARCHS}${LIT_COMPUTE_ARCHS_SUFFIX} ${LIBCUDACXX_TEST_TARGETS} ${OUTPUT_STREAM_FLAG}" \ - + 2>&1 | tee "${LIBCUDACXX_LOG}" if [ "${PIPESTATUS[0]}" != "0" ]; then report_and_exit 1; fi else