CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
68 lines
3.5 KiB
JSON
68 lines
3.5 KiB
JSON
{
|
|
"required_tables": [
|
|
{
|
|
"commit": "Validation rules for GPU hardware counters (rocm_counter_collection)",
|
|
"min_rows": 1,
|
|
"name_prefix": "rocpd_info_pmc_",
|
|
"required_columns": [
|
|
"id",
|
|
"agent_id",
|
|
"target_arch",
|
|
"name",
|
|
"description",
|
|
"units",
|
|
"value_type"
|
|
],
|
|
"validation_queries": [
|
|
{
|
|
"comparison": "greater_than",
|
|
"description": "Check that GPU HW counter metadata was registered",
|
|
"error_message": "No GPU HW counter info entries found",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM {table_name} WHERE target_arch = 'GPU' AND name LIKE 'GPU %'"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"commit": "Validation rules for GPU hardware counter events",
|
|
"min_rows": 1,
|
|
"name_prefix": "rocpd_pmc_event_",
|
|
"required_columns": [
|
|
"event_id",
|
|
"pmc_id",
|
|
"value"
|
|
],
|
|
"validation_queries": [
|
|
{
|
|
"comparison": "greater_than",
|
|
"description": "Check that GPU HW counter events exist in rocpd_pmc_event",
|
|
"error_message": "No GPU HW counter event rows found",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM {table_name} event JOIN rocpd_info_pmc info ON event.pmc_id = info.id WHERE info.name LIKE 'GPU %'"
|
|
},
|
|
{
|
|
"comparison": "greater_than",
|
|
"description": "Check that GPU HW counter end-of-event zero markers exist (each counter interval must close with value=0)",
|
|
"error_message": "No zero-value end markers found for GPU HW counters \u2014 counter intervals are not properly closed",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM {table_name} event JOIN rocpd_info_pmc info ON event.pmc_id = info.id WHERE info.name LIKE 'GPU %' AND event.value = 0.0"
|
|
},
|
|
{
|
|
"comparison": "greater_than",
|
|
"description": "Check that GPU HW counter non-zero values exist (actual counter measurements)",
|
|
"error_message": "No non-zero counter values found \u2014 counters may not be recording",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM {table_name} event JOIN rocpd_info_pmc info ON event.pmc_id = info.id WHERE info.name LIKE 'GPU %' AND event.value > 0.0"
|
|
},
|
|
{
|
|
"comparison": "equals",
|
|
"description": "Check that every non-zero counter event has a matching zero end marker (paired start/end)",
|
|
"error_message": "Mismatch between non-zero counter events and zero end markers \u2014 some counter intervals are not closed",
|
|
"expected_result": 0,
|
|
"query": "SELECT (SELECT COUNT(*) FROM {table_name} event JOIN rocpd_info_pmc info ON event.pmc_id = info.id WHERE info.name LIKE 'GPU %' AND event.value > 0.0) - (SELECT COUNT(*) FROM {table_name} event JOIN rocpd_info_pmc info ON event.pmc_id = info.id WHERE info.name LIKE 'GPU %' AND event.value = 0.0) as count"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|