Files
rocm-systems/bin/hipexamine-perl.sh
T

13 lines
335 B
Bash
Raw Normal View History

2017-03-29 16:36:46 +03:00
#!/bin/bash
2017-06-02 16:33:48 +03:00
#usage : hipexamine-perl.sh DIRNAME [hipify-perl options]
2017-03-29 16:36:46 +03:00
# Generate HIP stats (LOC, CUDA->API conversions, missing functionality) for all the code files
2017-03-29 16:36:46 +03:00
# in the specified directory.
SCRIPT_DIR=`dirname $0`
SEARCH_DIR=$1
shift
$SCRIPT_DIR/hipify-perl -no-output -print-stats "$@" `$SCRIPT_DIR/findcode.sh $SEARCH_DIR`