Skip to content

Commit

Permalink
[HIPIFY][tests][linux] Add support for 5 hipify arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
emankov committed Jan 29, 2024
1 parent cf01b91 commit 892b976
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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%/*}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/synthetic/libraries/cusparse2rocsparse.cu
Original file line number Diff line number Diff line change
@@ -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 <hip/hip_runtime.h>
#include <cuda_runtime.h>
Expand Down

0 comments on commit 892b976

Please sign in to comment.