rocprofiler: add valu utilization

SWDEV-475242

For the description of "FP32 Engine Activity" and "FP64 Engine Activity" in dcgm,
It seems that we do not have an equivalent to these pipe-utilizations on our hardware.

In rocprofiler, I think VALU Utilization is the closest to what we want.

Change-Id: Ibce8835ef4757084cdfd73258de6fc1606ca0158
Signed-off-by: Chen Gong <curry.gong@amd.com>
This commit is contained in:
Chen Gong
2024-10-28 18:02:38 +08:00
committed by Gong, Curry
parent 853d3b0cc5
commit 251fcbe49d
4 changed files with 15 additions and 10 deletions
+12 -10
View File
@@ -138,16 +138,18 @@ class rdc_field_t(c_int):
RDC_FI_XGMI_7_WRITE_KB = 715
RDC_FI_XGMI_TOTAL_READ_KB = 716
RDC_FI_XGMI_TOTAL_WRITE_KB = 717
RDC_FI_PROF_MEAN_OCCUPANCY_PER_CU = 800
RDC_FI_PROF_MEAN_OCCUPANCY_PER_ACTIVE_CU = 801
RDC_FI_PROF_ACTIVE_CYCLES = 802
RDC_FI_PROF_ACTIVE_WAVES = 803
RDC_FI_PROF_ELAPSED_CYCLES = 804
RDC_FI_PROF_EVAL_MEM_R_BW = 805
RDC_FI_PROF_EVAL_MEM_W_BW = 806
RDC_FI_PROF_EVAL_FLOPS_16 = 807
RDC_FI_PROF_EVAL_FLOPS_32 = 808
RDC_FI_PROF_EVAL_FLOPS_64 = 809
RDC_FI_PROF_OCCUPANCY_PERCENT = 800
RDC_FI_PROF_ACTIVE_CYCLES = 801
RDC_FI_PROF_ACTIVE_WAVES = 802
RDC_FI_PROF_ELAPSED_CYCLES = 803
RDC_FI_PROF_TENSOR_ACTIVE_PERCENT = 804
RDC_FI_PROF_GPU_UTIL_PERCENT = 805
RDC_FI_PROF_EVAL_MEM_R_BW = 806
RDC_FI_PROF_EVAL_MEM_W_BW = 807
RDC_FI_PROF_EVAL_FLOPS_16 = 808
RDC_FI_PROF_EVAL_FLOPS_32 = 809
RDC_FI_PROF_EVAL_FLOPS_64 = 810
RDC_FI_PROF_VALU_PIPE_ISSUE_UTIL = 811
RDC_EVNT_XGMI_0_NOP_TX = 1000
RDC_EVNT_XGMI_0_REQ_TX = 1001
RDC_EVNT_XGMI_0_RESP_TX = 1002