Files
rocm-systems/samples/external_correlation_id_request
venkat1361 3f91d90bbc Check to force tools to initialize the ctx id to zero. (#1135)
* Check to force tool to initialize the ctx id to zero.

* initialize rocprofiler_context_id_t with 0 in units tests

* changelog

---------

Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
2024-10-22 18:09:25 +05:30
..

External Correlation ID Request Sample

Services

  • Code object callback tracing for mapping kernel IDs to kernel names
  • HIP Runtime API:
    • hipLaunchKernel
    • hipMemcpyAsync
    • hipMemsetAsync
    • hipMalloc
  • Kernel dispatch
  • Memory Copy
  • External correlation ID request:
    • Kernel dispatch
    • Memory copy
  • Correlation ID retirement

Properties

  • Subscribes to an external correlation ID request for all kernel dispatches and async memory copies
  • Generates an external correlation ID containing all the arguments passed to the request callback
  • Demonstrates that all external correlation IDs which are requested are passed back to tool in buffer callbacks
  • Demonstrates that all internal correlation IDs which are provided as an input argument to request are retired
  • Buffer size of 4096 bytes which is automatically flushed once >= 87.5% of buffer is filled (3584 bytes)