From 892b97680813b6e47059fafe4c89dc2706e6a712 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Mon, 29 Jan 2024 13:03:30 +0100 Subject: [PATCH] [HIPIFY][tests][linux] Add support for 5 hipify arguments --- tests/run_test.sh | 4 ++++ tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/run_test.sh b/tests/run_test.sh index ef69d42b..145a138b 100755 --- a/tests/run_test.sh +++ b/tests/run_test.sh @@ -29,6 +29,10 @@ elif [ $NUM = "4" ] then HIPIFY_OPTS="$6 $7 $8 $9" shift 9 +elif [ $NUM = "5" ] +then +HIPIFY_OPTS="$6 $7 $8 $9 ${10}" +shift 10 fi test_dir=${IN_FILE%/*} diff --git a/tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu b/tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu index 9aff4e6c..55494f63 100644 --- a/tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu +++ b/tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu @@ -1,4 +1,4 @@ -// RUN: %run_test hipify "%s" "%t" %hipify_args 4 --skip-excluded-preprocessor-conditional-blocks --experimental --roc --use-hip-data-types %clang_args -ferror-limit=500 +// RUN: %run_test hipify "%s" "%t" %hipify_args 5 --amap --skip-excluded-preprocessor-conditional-blocks --experimental --roc --use-hip-data-types %clang_args -ferror-limit=500 // CHECK: #include #include