Skip to content

Commit 7a75d34

Browse files
Add 'projects/roctracer/' from commit 'dd745ed9c731cf1c67a182a4ce41ce30afbfb8ca'
git-subtree-dir: projects/roctracer git-subtree-mainline: 8b77fcc git-subtree-split: dd745ed
2 parents 8b77fcc + dd745ed commit 7a75d34

File tree

95 files changed

+37906
-0
lines changed

Some content is hidden

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

95 files changed

+37906
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
resources:
2+
repositories:
3+
- repository: pipelines_repo
4+
type: github
5+
endpoint: ROCm
6+
name: ROCm/ROCm
7+
8+
variables:
9+
- group: common
10+
- template: /.azuredevops/variables-global.yml@pipelines_repo
11+
12+
trigger:
13+
batch: true
14+
branches:
15+
include:
16+
- amd-mainline
17+
- amd-staging
18+
paths:
19+
exclude:
20+
- .github
21+
- doc
22+
- LICENSE
23+
- README.md
24+
25+
pr:
26+
autoCancel: true
27+
branches:
28+
include:
29+
- amd-mainline
30+
- amd-staging
31+
paths:
32+
exclude:
33+
- .github
34+
- doc
35+
- LICENSE
36+
- README.md
37+
drafts: false
38+
39+
jobs:
40+
- template: ${{ variables.CI_COMPONENT_PATH }}/roctracer.yml@pipelines_repo

projects/roctracer/.clang-format

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Google
4+
AccessModifierOffset: -1
5+
ConstructorInitializerIndentWidth: 4
6+
AlignEscapedNewlinesLeft: false
7+
AlignTrailingComments: true
8+
AlignConsecutiveAssignments: false
9+
AlignOperands: false
10+
AllowAllParametersOfDeclarationOnNextLine: true
11+
AllowShortBlocksOnASingleLine: false
12+
AllowShortIfStatementsOnASingleLine: true
13+
AllowShortLoopsOnASingleLine: true
14+
AllowShortFunctionsOnASingleLine: All
15+
AlwaysBreakAfterDefinitionReturnType: false
16+
AlwaysBreakTemplateDeclarations: false
17+
AlwaysBreakBeforeMultilineStrings: true
18+
BreakBeforeBinaryOperators: false
19+
BreakBeforeTernaryOperators: true
20+
BreakConstructorInitializersBeforeComma: false
21+
BinPackParameters: true
22+
ColumnLimit: 100
23+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
24+
ExperimentalAutoDetectBinPacking: false
25+
IndentCaseLabels: true
26+
IndentWrappedFunctionNames: false
27+
IndentFunctionDeclarationAfterType: false
28+
MaxEmptyLinesToKeep: 2
29+
KeepEmptyLinesAtTheStartOfBlocks: false
30+
NamespaceIndentation: None
31+
ObjCSpaceAfterProperty: false
32+
ObjCSpaceBeforeProtocolList: false
33+
PenaltyBreakBeforeFirstCallParameter: 1
34+
PenaltyBreakComment: 300
35+
PenaltyBreakString: 1000
36+
PenaltyBreakFirstLessLess: 120
37+
PenaltyExcessCharacter: 1000000
38+
PenaltyReturnTypeOnItsOwnLine: 200
39+
DerivePointerAlignment: false
40+
PointerAlignment: Left
41+
SpacesBeforeTrailingComments: 2
42+
Cpp11BracedListStyle: true
43+
Standard: Auto
44+
IndentWidth: 2
45+
TabWidth: 8
46+
UseTab: Never
47+
BreakBeforeBraces: Attach
48+
SpacesInParentheses: false
49+
SpacesInAngles: false
50+
SpaceInEmptyParentheses: false
51+
SpacesInCStyleCastParentheses: false
52+
SpacesInContainerLiterals: true
53+
SpaceBeforeAssignmentOperators: true
54+
ContinuationIndentWidth: 4
55+
CommentPragmas: '^ IWYU pragma:'
56+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
57+
SpaceBeforeParens: ControlStatements
58+
DisableFormat: false
59+
SortIncludes: false
60+
...
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
disabled: false
2+
scmId: gh-emu-rocm
3+
branchesToScan:
4+
- amd-staging
5+
- amd-mainline
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Rocm Validation Suite KWS
2+
on:
3+
push:
4+
branches: [amd-staging]
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
workflow_dispatch:
8+
jobs:
9+
kws:
10+
if: ${{ github.event_name == 'pull_request' }}
11+
uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/kws.yml@mainline
12+
secrets: inherit
13+
with:
14+
pr_number: ${{github.event.pull_request.number}}
15+
base_branch: ${{github.base_ref}}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ROCm CI Caller
2+
3+
on:
4+
pull_request:
5+
branches: [amd-staging, amd-npi, release/rocm-rel-*, amd-mainline]
6+
types: [opened, reopened, synchronize]
7+
push:
8+
branches: [amd-mainline]
9+
workflow_dispatch:
10+
issue_comment:
11+
types: [created]
12+
13+
jobs:
14+
call-workflow:
15+
if: ${{ github.event_name != 'issue_comment' || github.event.comment.body == '!verify' }}
16+
uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/rocm_ci.yml@mainline
17+
secrets: inherit
18+
with:
19+
input_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
20+
input_pr_num: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || 0 }}
21+
input_pr_url: ${{ github.event_name == 'pull_request' && github.event.pull_request.html_url || '' }}
22+
input_pr_title: ${{ github.event_name == 'pull_request' && github.event.pull_request.title || '' }}
23+
repository_name: ${{ github.repository }}
24+
base_ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}
25+
trigger_event_type: ${{ github.event_name }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync amd-mainline to public repository
2+
3+
on:
4+
push:
5+
branches: [ amd-mainline ]
6+
7+
jobs:
8+
git-mirror:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: git-sync
12+
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
13+
with:
14+
source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/roctracer.git"
15+
source_branch: "amd-mainline"
16+
destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/roctracer.git"
17+
destination_branch: "amd-mainline"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Sync amd-staging to public repository
2+
3+
on:
4+
push:
5+
branches: [ amd-staging ]
6+
7+
jobs:
8+
git-mirror:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: git-sync
12+
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
13+
with:
14+
source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/roctracer.git"
15+
source_branch: "amd-staging"
16+
destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/roctracer.git"
17+
destination_branch: "amd-staging"

projects/roctracer/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.*
2+
!.gitignore
3+
*.o
4+
*.exe
5+
*.swp
6+
*.Po
7+
build

0 commit comments

Comments
 (0)