Fix rocprofiler plugin
- Replace non-working fields with working ones
- remove CU_OCCUPANCY completely as it isn't well supported
- Fix rocprofiler initialization with shared_ptr and rdc_module_init
- Replace env var ROCPROFILER_METRICS_PATH with ROCP_METRICS
- ROCPROFILER_METRICS_PATH is only relevant for rocprofv2
- ROCP_METRICS is only relevant for rocprofv1 (which we are using)
Change-Id: I21e6fa3f0e1694c38f44ca0e5659d672559f7380
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
1 parent
07c414af5e
commit
20ca2ce574
8 files changed
+62
-37
No files matched your search
+1
-3
@@ -250,13 +250,11 @@ typedef enum {
|
||||
/**
|
||||
* @brief ROC-profiler related fields
|
||||
*/
|
||||
RDC_FI_PROF_CU_OCCUPANCY = 800,
|
||||
RDC_FI_PROF_MEAN_OCCUPANCY_PER_CU,
|
||||
RDC_FI_PROF_MEAN_OCCUPANCY_PER_CU = 800,
|
||||
RDC_FI_PROF_MEAN_OCCUPANCY_PER_ACTIVE_CU,
|
||||
RDC_FI_PROF_ACTIVE_CYCLES,
|
||||
RDC_FI_PROF_ACTIVE_WAVES,
|
||||
RDC_FI_PROF_ELAPSED_CYCLES,
|
||||
|
||||
// metrics below are divided by time passed
|
||||
RDC_FI_PROF_EVAL_MEM_R_BW,
|
||||
RDC_FI_PROF_EVAL_MEM_W_BW,
|
||||
|
||||
Reference in new issue
Block a user