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:
@@ -83,7 +83,7 @@ void TestRdciGroup::Run(void) {
|
||||
ASSERT_EQ(result, RDC_ST_OK);
|
||||
}
|
||||
|
||||
rdc_gpu_group_t group_id;
|
||||
rdc_gpu_group_t group_id = 0;
|
||||
uint32_t count = 0;
|
||||
rdc_group_info_t group_info;
|
||||
uint32_t gpu_index_list[RDC_MAX_NUM_DEVICES];
|
||||
|
||||
Reference in New Issue
Block a user