From 8769cf0d20041b3f775d793aed12416827106f5c Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Wed, 12 Feb 2020 18:00:15 -0500 Subject: [PATCH] kfdtest: Delete MULTI_GPU usage in run_kfdtest.sh It is obsolete. Change-Id: Ifd137ce1ce8d9133cfa5c8bfd46aaeea461b5aa7 Signed-off-by: Yong Zhao [ROCm/ROCR-Runtime commit: 0e5c4d83e6988d25918c9ab328bf169a78dff1a0] --- .../tests/kfdtest/scripts/run_kfdtest.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/projects/rocr-runtime/tests/kfdtest/scripts/run_kfdtest.sh b/projects/rocr-runtime/tests/kfdtest/scripts/run_kfdtest.sh index 6097c99c45..8ad27ff118 100755 --- a/projects/rocr-runtime/tests/kfdtest/scripts/run_kfdtest.sh +++ b/projects/rocr-runtime/tests/kfdtest/scripts/run_kfdtest.sh @@ -78,7 +78,6 @@ fi PLATFORM="" GDB="" NODE="" -MULTI_GPU="" FORCE_HIGH="" RUN_IN_DOCKER="" @@ -106,8 +105,6 @@ printUsage() { return 0 } # Print gtest_filter for the given Platform -# If MULTI_GPU flag is set, then Multi-GPU Tests are selected. Once all tests -# pass in Multi GPU environment, this flag can be removed # param - Platform. getFilter() { # For regular platforms such as vega10, this will automatically generate @@ -219,16 +216,6 @@ getGPUCount() { echo "$gpuCount" } -# set $MULTI_GPU flag if the system has more than 1 GPU -setMultiGPUFlag() { - gpuCount=$(getGPUCount) - if [ $gpuCount -gt 1 ]; then - MULTI_GPU=1 - else - MULTI_GPU=0 - fi -} - while [ "$1" != "" ]; do case "$1" in -p | --platform ) @@ -257,7 +244,6 @@ if [ "$FORCE_HIGH" == "true" ]; then pushTrap "popGpuDpmState" EXIT fi -setMultiGPUFlag # Set HSA_DEBUG env to run KFDMemoryTest.PtraceAccessInvisibleVram export HSA_DEBUG=1 runKfdTest