Skip to content

Commit

Permalink
[HIPIFY][SWDEV-424205][Linux][fix] Fix scripts directory, changed in …
Browse files Browse the repository at this point in the history
…Linux packages
  • Loading branch information
emankov committed Oct 25, 2023
1 parent 2bdae31 commit 75a6da6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/hipconvertinplace-perl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# (this is useful for testing improvements to the hipify-perl toolset).

SCRIPT_DIR="$(dirname "$(realpath "$0")")"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify"
SEARCH_DIR=$1
shift
$SCRIPT_DIR/hipify-perl -inplace -print-stats "$@" `$PRIV_SCRIPT_DIR/findcode.sh $SEARCH_DIR`
2 changes: 1 addition & 1 deletion bin/hipconvertinplace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# preserves the existing directory structure.

SCRIPT_DIR="$(dirname "$(realpath "$0")")"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify"
SEARCH_DIR=$1

hipify_args=''
Expand Down
2 changes: 1 addition & 1 deletion bin/hipexamine-perl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


SCRIPT_DIR="$(dirname "$(realpath "$0")")"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify"
SEARCH_DIR=$1
shift
$SCRIPT_DIR/hipify-perl -no-output -print-stats "$@" `$PRIV_SCRIPT_DIR/findcode.sh $SEARCH_DIR`
2 changes: 1 addition & 1 deletion bin/hipexamine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Generate CUDA->HIP conversion statistics for all the code files in the specified directory.

SCRIPT_DIR="$(dirname "$(realpath "$0")")"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../libexec/hipify"
PRIV_SCRIPT_DIR="$SCRIPT_DIR/../../libexec/hipify"
SEARCH_DIR=$1

hipify_args=''
Expand Down

0 comments on commit 75a6da6

Please sign in to comment.