Dosyalar
rocm-systems/samples/api_buffered_tracing
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
..
2023-11-14 10:58:33 -06: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