Files
rocm-systems/projects/rocprofiler-sdk/samples/api_buffered_tracing
Madsen, Jonathan adc4e6995d [SDK] Support HIP 7.0 API changes (#432)
* [Do not merge] Make changes to api_args

* Support HIP 7.0 API changes

- Provide ROCPROFILER_SDK_ variants of ROCPROFILER_ version defines
- Provide ROCPROFILER_SDK_COMPUTE_VERSION
- hipCtxGetApiVersion changes parameter from int* to unsigned int*
- hipMemcpyHtoD and hipMemcpyHtoDAsync changed void* to const void*

* Fix comment

---------

Co-authored-by: Jatin Chaudhary <jatchaud@amd.com>
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>

[ROCm/rocprofiler-sdk commit: caf1a2174e]
2025-06-03 21:50:50 -05:00
..

API Buffer Tracing Sample

Services

  • Code object callback tracing for mapping kernel IDs to kernel names
  • HSA API (Core, AMD Ext)
  • HIP API (Runtime)
  • Kernel dispatch
  • Memory copy
  • Page Migration
  • Scratch Memory

Properties

  • Buffer size of 4096 bytes which is automatically flushed once >= 87.5% of buffer is filled (3584 bytes)
  • Creation of dedicated thread for buffer callback delivery
  • Push external correlation IDs once per thread (value is thread ID)
  • Receives notifications for internal thread creation