Skip to content

Commit 8083907

Browse files
authored
Merge branch 'develop' into import/develop/ROCm_aqlprofile/config
2 parents 95b34be + 8bc0063 commit 8083907

File tree

2,951 files changed

+783257
-13547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,951 files changed

+783257
-13547
lines changed

.azuredevops/rocm_ci_caller.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pr:
77
include:
88
- projects/*
99
- shared/*
10+
drafts: false
1011

1112
variables:
1213
- group: internal

.github/CODEOWNERS

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Generic Ownership (broadest rules first)
2-
**/next-cmake/ @ROCm/rocm-math-lib-build-infra
3-
41
# CI ownership
52
/.azuredevops/ @ROCm/external-ci
63
/.github/ @ROCm/rocm-systems-reviewers
@@ -14,18 +11,32 @@
1411

1512
# Project-specific ownership
1613
/projects/aqlprofile/ @ammarwa @bgopesh
14+
/projects/clr/ @ROCm/clr-reviewers
15+
/projects/hip/ @ROCm/hip-reviewers
16+
/projects/hipother/ @ROCm/hipother-reviewers
17+
/projects/hip-tests/ @ROCm/hip-tests-reviewers
1718
/projects/rdc/ @dmitrii-galantsev @bill-shuzhou-liu
1819
/projects/rocm-core/ @nunnikri @frepaul @raramakr @ashutom @amd-isparry @arvindcheru
1920
/projects/rocm-smi-lib/ @bill-shuzhou-liu @dmitrii-galantsev @charis-poag-amd @oliveiradan
2021
/projects/rocminfo/ @dayatsin-amd @shwetagkhatri
2122
/projects/rocprofiler/ @ammarwa @bgopesh
22-
/projects/rocprofiler-compute/ @coleramos425 @feizheng10 @vedithal-amd @xuchen-amd @cfallows-amd @ywang103-amd @jamessiddeley-amd
23+
/projects/rocprofiler-compute/ @ROCm/rocprof-compute-reviewer # Owners: @ROCm/rocprof-compute-owners, Reviewers: @ROCm/rocprof-compute-reviewer
2324
/projects/rocprofiler-register/ @ammarwa @bgopesh
2425
/projects/rocprofiler-sdk/ @jrmadsen @t-tye
2526
/projects/rocprofiler-systems/ @ROCm/rocprof-sys @jrmadsen
26-
/projects/rocr-runtime/ @kentrussell @fxkamd @dayatsin-amd
27+
/projects/rocr-runtime/ @kentrussell @dayatsin-amd @cfreeamd
2728
/projects/roctracer/ @ammarwa @bgopesh
2829

30+
# Language runtime build infra code owners
31+
/projects/clr/**/*.cmake @ROCm/clr-reviewers @ROCm/lrt-build-infra
32+
/projects/clr/**/CMakeLists.txt @ROCm/clr-reviewers @ROCm/lrt-build-infra
33+
/projects/hip/**/*.cmake @ROCm/hip-reviewers @ROCm/lrt-build-infra
34+
/projects/hip/**/CMakeLists.txt @ROCm/hip-reviewers @ROCm/lrt-build-infra
35+
/projects/hipother/**/*.cmake @ROCm/hipother-reviewers @ROCm/lrt-build-infra
36+
/projects/hipother/**/CMakeLists.txt @ROCm/hipother-reviewers @ROCm/lrt-build-infra
37+
/projects/hip-tests/**/*.cmake @ROCm/hip-tests-reviewers @ROCm/lrt-build-infra
38+
/projects/hip-tests/**/CMakeLists.txt @ROCm/hip-tests-reviewers @ROCm/lrt-build-infra
39+
2940
# rocprofiler-sdk section-specific code owners
3041
/projects/rocprofiler-sdk/source/docs @bgopesh
3142
/projects/rocprofiler-sdk/source/include @jrmadsen @bwelton @ammarwa
@@ -42,11 +53,30 @@
4253
/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk-tool @SrirakshaNag
4354
/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk-codeobj @ApoKalipse-V
4455

56+
# rocr-runtime section-specific code owners
57+
/projects/rocr-runtime/libhsakmt @kentrussell @dayatsin-amd
58+
/projects/rocr-runtime/rocrtst @shwetagkhatri @cfreeamd
59+
/projects/rocr-runtime/runtime/hsa-runtime/core/driver/xdna @atgutier @ypapadop-amd
60+
/projects/rocr-runtime/runtime/hsa-runtime/core/driver/virtio @dayatsin-amd
61+
/projects/rocr-runtime/runtime/hsa-runtime/loader @dayatsin-amd @kzhuravl
62+
/projects/rocr-runtime/runtime/hsa-runtime/image @shwetagkhatri @dayatsin-amd
63+
/projects/rocr-runtime/runtime/hsa-runtime/pcs @shwetagkhatri @dayatsin-amd
4564

4665
# Documentation-specific ownership by project
4766
/projects/aqlprofile/**/*.md @ammarwa @bgopesh @ROCm/rocm-documentation
4867
/projects/aqlprofile/**/*.rst @ammarwa @bgopesh @ROCm/rocm-documentation
4968

69+
/projects/clr/**/*.md @ROCm/clr-reviewers @ROCm/lrt-docs-reviewers
70+
/projects/clr/**/*.rst @ROCm/clr-reviewers @ROCm/lrt-docs-reviewers
71+
/projects/clr/**/.readthedocs.yaml @ROCm/clr-reviewers @ROCm/lrt-docs-reviewers
72+
/projects/clr/hipamd/include/ @ROCm/clr-reviewers @ROCm/lrt-docs-reviewers
73+
74+
/projects/hip/**/*.md @ROCm/hip-reviewers @ROCm/lrt-docs-reviewers
75+
/projects/hip/**/*.rst @ROCm/hip-reviewers @ROCm/lrt-docs-reviewers
76+
/projects/hip/**/.readthedocs.yaml @ROCm/hip-reviewers @ROCm/lrt-docs-reviewers
77+
/projects/hip/docs/ @ROCm/hip-reviewers @ROCm/lrt-docs-reviewers
78+
/projects/hip/include/ @ROCm/hip-reviewers @ROCm/lrt-docs-reviewers
79+
5080
/projects/rdc/**/*.md @dmitrii-galantsev @bill-shuzhou-liu @ROCm/rocm-documentation
5181
/projects/rdc/**/*.rst @dmitrii-galantsev @bill-shuzhou-liu @ROCm/rocm-documentation
5282
/projects/rdc/**/.readthedocs.yaml @dmitrii-galantsev @bill-shuzhou-liu @ROCm/rocm-documentation
@@ -69,10 +99,10 @@
6999
/projects/rocprofiler/**/*.rst @ammarwa @bgopesh @ROCm/rocm-documentation
70100
/projects/rocprofiler/doc/ @ammarwa @bgopesh @ROCm/rocm-documentation
71101

72-
/projects/rocprofiler-compute/**/*.md @coleramos425 @feizheng10 @vedithal-amd @xuchen-amd @cfallows-amd @ywang103-amd @jamessiddeley-amd @ROCm/rocm-documentation
73-
/projects/rocprofiler-compute/**/*.rst @coleramos425 @feizheng10 @vedithal-amd @xuchen-amd @cfallows-amd @ywang103-amd @jamessiddeley-amd @ROCm/rocm-documentation
74-
/projects/rocprofiler-compute/**/.readthedocs.yaml @coleramos425 @feizheng10 @vedithal-amd @xuchen-amd @cfallows-amd @ywang103-amd @jamessiddeley-amd @ROCm/rocm-documentation
75-
/projects/rocprofiler-compute/docs/ @coleramos425 @feizheng10 @vedithal-amd @xuchen-amd @cfallows-amd @ywang103-amd @jamessiddeley-amd @ROCm/rocm-documentation
102+
/projects/rocprofiler-compute/**/*.md @ROCm/rocprof-compute-reviewer @ROCm/rocm-documentation @prbasyal-amd
103+
/projects/rocprofiler-compute/**/*.rst @ROCm/rocprof-compute-reviewer @ROCm/rocm-documentation @prbasyal-amd
104+
/projects/rocprofiler-compute/**/.readthedocs.yaml @ROCm/rocprof-compute-reviewer @ROCm/rocm-documentation @prbasyal-amd
105+
/projects/rocprofiler-compute/docs/ @ROCm/rocprof-compute-reviewer @ROCm/rocm-documentation @prbasyal-amd
76106

77107
/projects/rocprofiler-register/**/*.md @ammarwa @bgopesh @ROCm/rocm-documentation
78108
/projects/rocprofiler-register/**/*.rst @ammarwa @bgopesh @ROCm/rocm-documentation
@@ -82,9 +112,9 @@
82112
/projects/rocprofiler-systems/**/.readthedocs.yaml @ROCm/rocprof-sys @jrmadsen @ROCm/rocm-documentation
83113
/projects/rocprofiler-systems/docs/ @ROCm/rocprof-sys @jrmadsen @ROCm/rocm-documentation
84114

85-
/projects/rocr-runtime/**/*.md @kentrussell @fxkamd @dayatsin-amd @ROCm/rocm-documentation
86-
/projects/rocr-runtime/**/*.rst @kentrussell @fxkamd @dayatsin-amd @ROCm/rocm-documentation
87-
/projects/rocr-runtime/**/.readthedocs.yaml @kentrussell @fxkamd @dayatsin-amd @ROCm/rocm-documentation
115+
/projects/rocr-runtime/**/*.md @kentrussell @dayatsin-amd @ROCm/rocm-documentation
116+
/projects/rocr-runtime/**/*.rst @kentrussell @dayatsin-amd @ROCm/rocm-documentation
117+
/projects/rocr-runtime/**/.readthedocs.yaml @kentrussell @dayatsin-amd @ROCm/rocm-documentation
88118

89119
/projects/roctracer/**/*.md @ammarwa @bgopesh @ROCm/rocm-documentation
90120
/projects/roctracer/**/*.rst @ammarwa @bgopesh @ROCm/rocm-documentation
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
RANGE=""
6+
7+
while [[ $# -gt 0 ]]; do
8+
echo $1
9+
echo $2
10+
case "$1" in
11+
--range)
12+
RANGE="$2"
13+
shift 2
14+
;;
15+
*)
16+
echo "Unknown arg $1" >&2
17+
exit 64
18+
;;
19+
esac
20+
done
21+
22+
regex='\.(c|cc|cpp|cxx|h|hh|hpp|hxx)$'
23+
24+
clang_bin="${CLANG_FORMAT:-clang-format}"
25+
if ! command -v "$clang_bin" >/dev/null 2>&1; then
26+
if [[ -x "/c/Program Files/LLVM/bin/clang-format.exe" ]]; then
27+
clang_bin="/c/Program Files/LLVM/bin/clang-format.exe"
28+
fi
29+
fi
30+
31+
clang_format_diff="${CLANG_FORMAT_DIFF:-clang-format-diff}"
32+
if ! command -v "$clang_format_diff" >/dev/null 2>&1; then
33+
if [[ -x "/c/Program Files/LLVM/share/clang/clang-format-diff.py" ]]; then
34+
clang_format_diff="/c/Program Files/LLVM/share/clang/clang-format-diff.py"
35+
fi
36+
fi
37+
38+
directories=(projects/hip projects/clr projects/hipother projects/hip-tests)
39+
40+
for dir in ${array[*]}; do
41+
cd $dir
42+
if [[ -n $RANGE ]]; then
43+
files=$(git diff --name-only "$RANGE" . | grep -E "$regex" || true)
44+
else
45+
files=$(git diff --cached --name-only --diff-filter=ACMR . | grep -E "$regex" || true)
46+
fi
47+
echo "Checking $files"
48+
[[ -z $files ]] && exit 0
49+
50+
for file in $files; do
51+
echo "Checking lines of $file"
52+
53+
if [[ -n $RANGE ]]; then
54+
diff_output=$(git diff -U0 "$RANGE" -- "$file")
55+
else
56+
diff_output=$(git diff -U0 --cached -- "$file")
57+
fi
58+
59+
echo "$diff_output" | "$clang_format_diff" -style=file -fallback-style=none -p1
60+
done
61+
cd ..
62+
done

.github/hooks/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
exec "$(git rev-parse --show-toplevel)/.github/hooks/clang-format-check.sh"

.github/labeler.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
"project: aqlprofile":
2+
- changed-files:
3+
- any-glob-to-any-file: 'projects/aqlprofile/**/*'
4+
5+
"project: clr":
6+
- changed-files:
7+
- any-glob-to-any-file: 'projects/clr/**/*'
8+
9+
"project: hip":
10+
- changed-files:
11+
- any-glob-to-any-file: 'projects/hip/**/*'
12+
13+
"project: hipother":
14+
- changed-files:
15+
- any-glob-to-any-file: 'projects/hipother/**/*'
16+
17+
"project: hip-tests":
18+
- changed-files:
19+
- any-glob-to-any-file: 'projects/hip-tests/**/*'
20+
21+
"project: rdc":
22+
- changed-files:
23+
- any-glob-to-any-file: 'projects/rdc/**/*'
24+
25+
"project: rocm-core":
26+
- changed-files:
27+
- any-glob-to-any-file: 'projects/rocm-core/**/*'
28+
29+
"project: rocminfo":
30+
- changed-files:
31+
- any-glob-to-any-file: 'projects/rocminfo/**/*'
32+
33+
"project: rocm-smi-lib":
34+
- changed-files:
35+
- any-glob-to-any-file: 'projects/rocm-smi-lib/**/*'
36+
37+
"project: rocprofiler":
38+
- changed-files:
39+
- any-glob-to-any-file: 'projects/rocprofiler/**/*'
40+
41+
"project: rocprofiler-compute":
42+
- changed-files:
43+
- any-glob-to-any-file: 'projects/rocprofiler-compute/**/*'
44+
45+
"project: rocprofiler-register":
46+
- changed-files:
47+
- any-glob-to-any-file: 'projects/rocprofiler-register/**/*'
48+
49+
"project: rocprofiler-sdk":
50+
- changed-files:
51+
- any-glob-to-any-file: 'projects/rocprofiler-sdk/**/*'
52+
53+
"project: rocprofiler-systems":
54+
- changed-files:
55+
- any-glob-to-any-file: 'projects/rocprofiler-systems/**/*'
56+
57+
"project: rocr-runtime":
58+
- changed-files:
59+
- any-glob-to-any-file: 'projects/rocr-runtime/**/*'
60+
61+
"project: roctracer":
62+
- changed-files:
63+
- any-glob-to-any-file: 'projects/roctracer/**/*'
64+
65+
documentation:
66+
- changed-files:
67+
- any-glob-to-any-file:
68+
- docs/**/*
69+
- '**/docs/**/*'
70+
- '*.md'
71+
72+
External CI:
73+
- changed-files:
74+
- any-glob-to-any-file:
75+
- .azuredevops/**/*
76+
77+
github actions:
78+
- changed-files:
79+
- any-glob-to-any-file:
80+
- .github/workflows/**/*
81+
- .github/scripts/**/*
82+
- .github/*.json
83+
- .github/*.yml
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"repositories": [
3+
{
4+
"name": "clr",
5+
"url": "ROCm/clr",
6+
"branch": "release/rocm-rel-7.0",
7+
"category": "projects",
8+
"auto_subtree_pull": true,
9+
"auto_subtree_push": false
10+
},
11+
{
12+
"name": "hip",
13+
"url": "ROCm/hip",
14+
"branch": "release/rocm-rel-7.0",
15+
"category": "projects",
16+
"auto_subtree_pull": true,
17+
"auto_subtree_push": false
18+
},
19+
{
20+
"name": "hipother",
21+
"url": "ROCm/hipother",
22+
"branch": "release/rocm-rel-7.0",
23+
"category": "projects",
24+
"auto_subtree_pull": true,
25+
"auto_subtree_push": false
26+
},
27+
{
28+
"name": "hip-tests",
29+
"url": "ROCm/hip-tests",
30+
"branch": "release/rocm-rel-7.0",
31+
"category": "projects",
32+
"auto_subtree_pull": true,
33+
"auto_subtree_push": false
34+
}
35+
]
36+
}

.github/repos-added-config.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"repositories": [
3+
{
4+
"name": "clr",
5+
"url": "ROCm/clr",
6+
"branch": "amd-staging",
7+
"category": "projects",
8+
"auto_subtree_pull": true,
9+
"auto_subtree_push": false
10+
},
11+
{
12+
"name": "hip",
13+
"url": "ROCm/hip",
14+
"branch": "amd-staging",
15+
"category": "projects",
16+
"auto_subtree_pull": true,
17+
"auto_subtree_push": false
18+
},
19+
{
20+
"name": "hipother",
21+
"url": "ROCm/hipother",
22+
"branch": "amd-staging",
23+
"category": "projects",
24+
"auto_subtree_pull": true,
25+
"auto_subtree_push": false
26+
},
27+
{
28+
"name": "hip-tests",
29+
"url": "ROCm/hip-tests",
30+
"branch": "amd-staging",
31+
"category": "projects",
32+
"auto_subtree_pull": true,
33+
"auto_subtree_push": false
34+
}
35+
]
36+
}

0 commit comments

Comments
 (0)