supporting original hsa api table

Change-Id: Ia98554c137a3ec6433d8234ba17ca4dc2f2be940


[ROCm/rocprofiler commit: df860838a2]
This commit is contained in:
Evgeny
2019-03-06 13:41:54 -06:00
parent 2c8414e512
commit 222ef52c5d
6 changed files with 116 additions and 43 deletions
+8 -1
View File
@@ -88,6 +88,13 @@ export ROCP_THRS=1
export ROCP_INPUT=input.xml
eval_test "'rocprof' libtool test" ./test/ctrl
export ROCP_KITER=10
export ROCP_DITER=10
export ROCP_AGENTS=1
export ROCP_THRS=10
export ROCP_INPUT=input1.xml
eval_test "'rocprof' libtool test n-threads" ./test/ctrl
## Libtool test, counter sets
# Memcopies tracking
@@ -95,7 +102,7 @@ export ROCP_MCOPY_TRACKING=1
export ROCP_KITER=1
export ROCP_DITER=4
export ROCP_INPUT=input1.xml
export ROCP_INPUT=input2.xml
eval_test "libtool test, counter sets" ./test/ctrl
#valgrind --leak-check=full $tbin
+11 -2
View File
@@ -1,5 +1,14 @@
# Filter by dispatches range, GPU index and kernel names
<metric
# range format "3:9"
range=""
# list of gpu indexes "0,1,2,3"
gpu_index=""
# list of matched sub-strings "Simple1,Conv1,SimpleConvolution"
kernel=""
></metric>
# List of metrics
<metric
name="SQ:4,SQ:32,SQ:33,SQ:81,SQ:89, SQ:28,SQ:89,SQ:81,SQ:33,SQ:32,SQ:4,SQ:27, SQ:27,SQ:28, SQ:28,SQ:89,SQ:81,SQ:33"
set="5,7,2"
name=SQ:4,SQ_WAVES,SQ_INSTS_SMEM,SQ_INSTS_VALU,TA_FLAT_WRITE_WAVEFRONTS[0],TA_FLAT_WRITE_WAVEFRONTS[1],GPUBusy,VALUBusy,SALUBusy,MemUnitBusy,SFetchInsts,FetchSize,VWriteInsts,WriteSize
></metric>
@@ -0,0 +1,5 @@
# List of metrics
<metric
name="SQ:4,SQ:32,SQ:33,SQ:81,SQ:89, SQ:28,SQ:89,SQ:81,SQ:33,SQ:32,SQ:4,SQ:27, SQ:27,SQ:28, SQ:28,SQ:89,SQ:81,SQ:33"
set="5,7,2"
></metric>