Files
rocm-systems/projects/rocprofiler-sdk/tests/rocprofv3/counter-collection/extra_counters/extra_counters.yaml
T
Welton, Benjamin cfce653d86 [SDK] Standardize rocprofiler-sdk counter definition YAML schema (#370)
* Convert YAML Format

Convert YAML format and reader to properly read the YAML.

Comparison between output's from the YAML show only changes in ordering
of architectures (and ids).

* Test fixes

* Add script for converting the YAML schema to source/scripts

* Update documentation

* Change the extra counter code block to YAML

* Add missing new line at EOF

* remove name issues

---------

Co-authored-by: Benjamin Welton <bewelton@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: 33e43e66d3]
2025-05-14 13:31:51 -05:00

28 lines
579 B
YAML

rocprofiler-sdk:
counters-schema-version: 1
counters:
- name: TEST_YAML_LOAD
description: cycles
properties: []
definitions:
- architectures:
- gfx950
- gfx942
- gfx10
- gfx1010
- gfx1030
- gfx1031
- gfx11
- gfx1032
- gfx1102
- gfx906
- gfx1100
- gfx1101
- gfx908
- gfx90a
- gfx9
- gfx12
- gfx1200
- gfx1201
expression: reduce(GRBM_GUI_ACTIVE,max)*CU_NUM