[rocprofv3-avail] Documentation update and column formatting (#447)

* addressing issues

* doc fix

* test fix

* fix

* fix formatting issue and doc update

* fix column size

* fix

* fix formatting in output

* tests fix

* test fix

* add new line

* add new line

* fix new line

* fixing typo in using-rocprofv3-avail.rst
Этот коммит содержится в:
Nagaraj, Sriraksha
2025-07-10 11:41:12 -05:00
коммит произвёл GitHub
родитель e5161f6e06
Коммит 3aaffc42da
12 изменённых файлов: 138 добавлений и 96 удалений
+2 -2
Просмотреть файл
@@ -50,7 +50,7 @@ set_tests_properties(
ENVIRONMENT
"${test-rocprofv3-avail-env}"
PASS_REGULAR_EXPRESSION
"GPU:[0-9]*\\n*;Name:\\t[a-zA-Z_]*\\n;counter_name:\\t[a-zA-Z_]*\\n;description:\\t(.*)\\n*;expression:\\t(.)*\\n*;block:\\t[a-zA-Z]*\\n*;dimension_name:\\t([A-Z_]*)\\n*; dimension_instances:\\t([[0-9]*:[0-9]*\\])*\\n*"
"GPU:[0-9]*\\n*;Name:\\t[a-zA-Z_]*\\n;Counter_Name:\\t[a-zA-Z_]*\\n;Description:\\t(.*)\\n*;Expression:\\t(.)*\\n*;Block:\\t[a-zA-Z]*\\n*;Dimensions:\\t([A-Z_]*)\\t([[0-9]*:[0-9]*\\])*\\n*"
DISABLED
"${IS_DISABLED}")
@@ -64,7 +64,7 @@ set_tests_properties(
ENVIRONMENT
"${test-rocprofv3-avail-env};${enable_pc_sampling}"
PASS_REGULAR_EXPRESSION
"GPU:[0-9]*\\n*;Name:\\t[a-zA-Z_]*\\n;method:(.*)\\n*;unit:(.*)\\n*;min_interval:[0-9]*\\n*;max_interval:[0-9]*\\n*;flags:(.*)\\n*"
"GPU[:0-9 ]+\\n*;Name[:a-zA-Z_ ]+\\n;configs[: ]+;Method:(.*)\\n*;Unit:(.*)\\n*;Min_Interval:[0-9]*\\n*;Max_Interval:[0-9]*\\n*;Flags:(.*)\\n*"
DISABLED
"${IS_DISABLED}")
+2 -1
Просмотреть файл
@@ -110,8 +110,9 @@ def test_counter_set(capsys, rocm_path):
def set_library(rocm_path):
ROCPROF_LIST_AVAIL_TOOL_LIBRARY = (
f"{rocm_path}/libexec/rocprofiler-sdk/librocprofv3-list-avail.so"
f"{rocm_path}/lib/rocprofiler-sdk/librocprofv3-list-avail.so"
)
os.environ["ROCPROFILER_METRICS_PATH"] = f"{rocm_path}/share/rocprofiler-sdk"
avail.loadLibrary.libname = os.environ.get(
"ROCPROF_LIST_AVAIL_TOOL_LIBRARY", ROCPROF_LIST_AVAIL_TOOL_LIBRARY
)