Files
rocm-systems/samples/external_correlation_id_request
itrowbri 8d7be2e4b4 SWDEV-483130: Replace calls to deprecated functions hipHostMalloc/hipHostFree (#1070)
* SWDEV-483130: Replace calls to deprecated functions hipHostMalloc/hipHostFree

* SWDEV-483130: Replace calls to deprecated functions hipHostMalloc/hipHostFree. Moved definitions from lib/commons/defines.hpp to samples/common/defines.hpp and tests/common/defines.hpp

* Updated comment for clarity

* Update tests/rocprofv3/aborted-app/validate.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Formatting

* Formatting

* Updated CHANGELOG

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 18:31:00 -05:00
..

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)