SWDEV-255662 : spm kfd mode support

Change-Id: I840c7e92d3d5a59d8e5402c4d8ef86bc123dd07c
This commit is contained in:
Evgeny
2020-11-11 05:43:22 -06:00
parent f2c9980647
commit 7e60bf163e
2 ha cambiato i file con 65 aggiunte e 1 eliminazioni
+5
Vedi File
@@ -184,6 +184,7 @@ usage() {
echo " --flush-rate <rate> - to enable trace flush rate (time period)"
echo " Supported time formats: <number(m|s|ms|us)>"
echo " --parallel-kernels - to enable cnocurrent kernels"
echo " --spm-mode <on|off> - to enable collecting time-based sampling of HW counter data [off]"
echo ""
echo "Configuration file:"
echo " You can set your parameters defaults preferences in the configuration file 'rpl_rc.xml'. The search path sequence: .:${HOME}:<package path>"
@@ -444,6 +445,10 @@ while [ 1 ] ; do
ARG_VAL=0
export ROCP_K_CONCURRENT=1
export AQLPROFILE_READ_API=1
elif [ "$1" = "--spm-mode" ] ; then
if [ "$2" = "on" ] ; then
export ROCP_SPM_KFD_MODE=1
fi
elif [ "$1" = "--verbose" ] ; then
ARG_VAL=0
export ROCP_VERBOSE_MODE=1