Repository navigation
Add HRR project orchestration #7669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -248,6 +248,18 @@ | |||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "core-hrr", | ||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Name": "hrr", | ||||||||||||||||||||
| "Components": [ | ||||||||||||||||||||
| "doc", | ||||||||||||||||||||
| "run" | ||||||||||||||||||||
| ] | ||||||||||||||||||||
|
Comment on lines
+256
to
+259
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "amd-llvm", | ||||||||||||||||||||
|
Comment on lines
+252
to
264
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Package it the way
diff --git a/build_tools/packaging/linux/package.json b/build_tools/packaging/linux/package.json
--- a/build_tools/packaging/linux/package.json
+++ b/build_tools/packaging/linux/package.json
@@ -249,18 +249,6 @@
}
]
},
- {
- "Artifact": "core-hrr",
- "Artifact_Subdir": [
- {
- "Name": "hrr",
- "Components": [
- "doc",
- "run"
- ]
- }
- ]
- },
{
"Artifact": "amd-llvm",
@@ -337,18 +325,6 @@
}
]
},
- {
- "Artifact": "core-hrr",
- "Artifact_Subdir": [
- {
- "Name": "hrr",
- "Components": [
- "dev",
- "doc"
- ]
- }
- ]
- },
{
"Artifact": "core-kpack",
@@ -392,6 +368,8 @@
"DEBDepends": [
"amdrocm-runtime-devel",
+ "amdrocm-hrr",
"amdrocm-sysdeps",
@@ -398,6 +376,7 @@
"RPMRequires": [
"amdrocm-runtime-devel",
+ "amdrocm-hrr",
"amdrocm-sysdeps",
@@ -426,18 +405,6 @@
}
]
},
- {
- "Artifact": "core-hrr",
- "Artifact_Subdir": [
- {
- "Name": "hrr",
- "Components": [
- "lib",
- "test"
- ]
- }
- ]
- },
{
"Artifact": "rocrtst",
@@ -3796,6 +3763,46 @@
"Gfxarch": "False"
},
+ {
+ "Package": "amdrocm-hrr",
+ "Version": "",
+ "Architecture": "amd64",
+ "BuildArch": "x86_64",
+ "DEBDepends": [
+ "amdrocm-runtime"
+ ],
+ "RPMRequires": [
+ "amdrocm-runtime"
+ ],
+ "Maintainer": "ROCm Dev Support <rocm-dev.support@amd.com>",
+ "Description_Short": "HIP record and replay playback tool",
+ "Description_Long": "hrr-playback replays HIP captures produced by the HRR capture runtime in amdhip64. Provides archive inspection, replay, and device-to-host validation for debugging GPU workloads. Installs the playback binary and HRR headers.",
+ "Section": "devel",
+ "Priority": "optional",
+ "Group": "unknown",
+ "License": "MIT",
+ "Vendor": "Advanced Micro Devices, Inc",
+ "Homepage": "https://github.com/ROCm/rocm-systems",
+ "Artifactory": [
+ {
+ "Artifact": "core-hrr",
+ "Artifact_Subdir": [
+ {
+ "Name": "hrr",
+ "Components": [
+ "run",
+ "dev",
+ "doc"
+ ]
+ }
+ ]
+ }
+ ],
+ "Gfxarch": "False"
+ },
{
"Package": "amdrocm-developer-tools",
@@ -3808,7 +3815,8 @@
"amdrocm-profiler-base",
"amdrocm-profiler",
"amdrocm-emulation",
- "amdrocm-debugger"
+ "amdrocm-debugger",
+ "amdrocm-hrr"
],
"RPMRequires": [
@@ -3817,7 +3825,8 @@
"amdrocm-profiler-base",
"amdrocm-profiler",
"amdrocm-emulation",
- "amdrocm-debugger"
+ "amdrocm-debugger",
+ "amdrocm-hrr"
],The wheel allowlist and the Windows MSI are separate channels. This PR does not put |
||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
|
|
@@ -324,6 +336,18 @@ | |||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "core-hrr", | ||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Name": "hrr", | ||||||||||||||||||||
| "Components": [ | ||||||||||||||||||||
| "dev", | ||||||||||||||||||||
| "doc" | ||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doc is already in runtime package. For now its empty so its not creating any conflict. But in future if any files are added it can create duplicate files and create conflict at installation
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. I too suggest dropping doc from amdrocm-runtime-devel and leave it only on the runtime package, matching core-hip. |
||||||||||||||||||||
| ] | ||||||||||||||||||||
|
Comment on lines
+344
to
+347
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "core-kpack", | ||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
|
|
@@ -401,6 +425,18 @@ | |||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "core-hrr", | ||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Name": "hrr", | ||||||||||||||||||||
| "Components": [ | ||||||||||||||||||||
| "lib", | ||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isnt lib supposed to be part of runtime package and not test package?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. lib is the shared-library slice, so it belongs on amdrocm-runtime next to run, same as core-hip. |
||||||||||||||||||||
| "test" | ||||||||||||||||||||
| ] | ||||||||||||||||||||
|
Comment on lines
+433
to
+436
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Drop
Suggested change
|
||||||||||||||||||||
| } | ||||||||||||||||||||
| ] | ||||||||||||||||||||
| }, | ||||||||||||||||||||
| { | ||||||||||||||||||||
| "Artifact": "rocrtst", | ||||||||||||||||||||
| "Artifact_Subdir": [ | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # hrr | ||
| [components.run."core/hrr/stage"] | ||
| include = [ | ||
| "bin/**", | ||
| ] | ||
| [components.dbg."core/hrr/stage"] | ||
| [components.lib."core/hrr/stage"] | ||
| [components.dev."core/hrr/stage"] | ||
| include = [ | ||
| "include/hrr/**", | ||
| ] | ||
| [components.doc."core/hrr/stage"] | ||
| [components.test."core/hrr/stage"] | ||
| include = [ | ||
| "share/hrr/**", | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doc component is empty. Are these modules distributed under same license as hip? Isnt it better to have seperate License file for hrr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same license as HIP (MIT). A separate LICENSE file is optional; We can add one if you want it in that component.