[TheRock CI] Adding profiler builds (#1301)

* Adding profiler for TheRock CI

* adding temp test for rocproiler

* Removing subtrees

* PR comment
This commit is contained in:
Geo Min
2025-10-08 14:38:38 -07:00
committato da GitHub
parent cccc350dc6
commit 388edb1b57
5 ha cambiato i file con 15 aggiunte e 13 eliminazioni
@@ -9,7 +9,6 @@ import fnmatch
import json
import logging
import subprocess
import sys
from therock_matrix import subtree_to_project_map, project_map
import time
from typing import Mapping, Optional, Iterable
+15 -6
Vedi File
@@ -2,17 +2,26 @@
This dictionary is used to map specific file directory changes to the corresponding build flag and tests
"""
subtree_to_project_map = {
"projects/clr": "core",
"projects/hip": "core",
"projects/hip-tests": "core",
"projects/rocminfo": "core",
"projects/rocr-runtime": "core",
'projects/aqlprofile': 'profiler',
'projects/clr': 'core',
'projects/hip': 'core',
'projects/hip-tests': 'core',
'projects/rocminfo': 'core',
'projects/rocprofiler': 'profiler',
'projects/rocprofiler-compute': 'profiler',
'projects/rocprofiler-sdk': 'profiler',
'projects/rocprofiler-systems': 'profiler',
'projects/rocr-runtime': 'core',
'projects/roctracer': 'profiler'
}
project_map = {
"core": {
"cmake_options": "-DTHEROCK_ENABLE_CORE=ON -DTHEROCK_ENABLE_HIP_RUNTIME=ON -DTHEROCK_ENABLE_ALL=OFF",
"project_to_test": "hip-tests",
"subtree_checkout": "projects/clr\nprojects/hip\nprojects/hip-tests\nprojects/rocminfo\nprojects/rocr-runtime",
},
"profiler": {
"cmake_options": "-DTHEROCK_ENABLE_PROFILER=ON -DTHEROCK_ENABLE_ALL=OFF",
"project_to_test": "rocprofiler-tests",
},
}