PR #29769: [ROCm] upstream using rocprofiler-sdk (v3) for tracing AMD GPU events #33594
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #29769: [ROCm] upstream using rocprofiler-sdk (v3) for tracing AMD GPU events
Imported from GitHub PR #29769
@xla-rotation, would you please kindly help review this PR?
We are phasing out development and support for roctracer/rocprofiler/rocprof/rocprofv2 in favor of rocprofiler-sdk (v3) in upcoming ROCm releases. rocprofielr-sdk (v3) also moves away from cupti.
This PR integrates rocprofiler-sdk (v3) into XLA for profiling GPU events on AMD GPUs.
Copybara import of the project:
--
ab06442 by cj401-amd [email protected]:
update with refactoring based on the PR comments
--
8f8ad5a by cj401-amd [email protected]:
update with VLOG(2) and fix a bug, new line at the EoF
--
6a85e5c by cj401-amd [email protected]:
update the macro
--
cb13f7e by cj401-amd [email protected]:
update header files
--
15ec380 by cj401-amd [email protected]:
update a: addressing comments, b: add kernel details, c: update rocprofiler-sdk path
--
3ee71f3 by cj401-amd [email protected]:
add rocprofiler-sdk debs for hermetic build
--
ac2249d by cj401-amd [email protected]:
update with a successful hermetic build locally
Merging this change closes #29769
FUTURE_COPYBARA_INTEGRATE_REVIEW=#29769 from ROCm:ci_cj-rocprof-v3-roctracer-v1 ac2249d