Skip to content

Conversation

@copybara-service
Copy link

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.

  • Integrate rocprofiler-sdk (v3) to XLA for improved profiling of GPU events, support both time-based and step-based profiling,
  • Add unit tests for rocm_collector and rocm_tracer
    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

@copybara-service copybara-service bot force-pushed the test_828431731 branch 9 times, most recently from 4260d01 to 6d792ec Compare November 6, 2025 08:24
@copybara-service copybara-service bot closed this Nov 6, 2025
@copybara-service copybara-service bot deleted the test_828431731 branch November 6, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants