Fixing rocprofilerv2 naming and CMake issues

Change-Id: Ib6d336349a056731e5c0f35151296d6fea671360


[ROCm/rocprofiler commit: dc69331379]
Этот коммит содержится в:
Ammar ELWazir committed 2023-03-09 13:21:01 +00:00
1 родитель 38080f727a
Коммит ff80dd4dfa
62 files changed
+228 -234237

No files matched your search

+12 -12
Просмотреть файл
@@ -36,13 +36,13 @@ usage() {
echo -e "-o | --output-file For the output file name"
echo -e "-d | --output-directory For adding output path where the output files will be saved"
echo -e "-fi | --flush-interval For adding a flush interval in milliseconds, every \"flush interval\" the buffers will be flushed"
echo -e "\n###ATT Plugin options: ###"
if [ $RUN_FROM_BUILD == 1 ]; then
ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
else
ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
fi
eval "python3 $ATT_PATH --help"
# echo -e "\n###ATT Plugin options: ###"
# if [ $RUN_FROM_BUILD == 1 ]; then
# ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
# else
# ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
# fi
# eval "python3 $ATT_PATH --help"
exit 1
}
@@ -207,11 +207,11 @@ while [ 1 ] ; do
exit 1
fi
if [ "$2" = "att" ] ; then
#if [ $RUN_FROM_BUILD == 1 ]; then
# export ROCMTOOLS_ATT_PARSER=build/libatt_parser.so
#else
# export ROCMTOOLS_ATT_PARSER=$ROCPROFV2_DIR/../lib/rocprofiler/libatt_parser.so
#fi
if [ $RUN_FROM_BUILD == 1 ]; then
ATT_PATH=$ROCPROFV2_DIR/build/plugin/att/att/att.py
else
ATT_PATH=$ROCPROFV2_DIR/../libexec/rocprofiler/att/att.py
fi
ATT_ARGV=$3
shift