[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]
This commit is contained in:
+27
-5
@@ -1,5 +1,27 @@
|
||||
TEST_YAML_LOAD:
|
||||
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
|
||||
description: 'Unit: cycles'
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user