File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 5151 METRIC_ID_RE ,
5252 add_counter_extra_config_input_yaml ,
5353 convert_metric_id_to_panel_info ,
54- detect_rocprof ,
5554 get_panel_alias ,
56- get_submodules ,
5755 is_tcc_channel_counter ,
5856 mibench ,
5957 parse_sets_yaml ,
@@ -421,9 +419,9 @@ def get_rocprof_supported_counters(self) -> set[str]:
421419 # <rocm_path>/bin/rocprofv3_avail_module/avail.py to
422420 # <rocm_path>/lib/python3/site-packages/rocprofv3/avail.py
423421 new_path = str (
424- Path (args .rocprofiler_sdk_tool_path ). parents [ 1 ] / "python3/site-packages"
422+ Path (args .rocprofiler_sdk_library_path ). parent / "python3/site-packages"
425423 )
426- old_path = str (Path (args .rocprofiler_sdk_tool_path ).parents [2 ] / "bin" )
424+ old_path = str (Path (args .rocprofiler_sdk_library_path ).parents [1 ] / "bin" )
427425 try :
428426 sys .path .append (new_path )
429427 from rocprofv3 import avail
@@ -439,7 +437,6 @@ def get_rocprof_supported_counters(self) -> set[str]:
439437 except ImportError :
440438 console_error ("Failed to import rocprofiler-sdk avail module." )
441439
442-
443440 avail .loadLibrary .libname = str (
444441 Path (args .rocprofiler_sdk_library_path ).parent
445442 / "rocprofiler-sdk"
You can’t perform that action at this time.
0 commit comments