From 1157f97224ff4983e71cde983b140d468f885dcc Mon Sep 17 00:00:00 2001 From: "Vaddireddy, Sushma" Date: Thu, 24 Jul 2025 15:24:37 -0700 Subject: [PATCH] Crash issue fix on MI100 (#160) * Crash issue fix on MI100 --------- Co-authored-by: Sushma Vaddireddy [ROCm/aqlprofile commit: 51c5343bf891848443cab2230615fdb287e3b918] --- projects/aqlprofile/src/core/gfx9_factory.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/aqlprofile/src/core/gfx9_factory.h b/projects/aqlprofile/src/core/gfx9_factory.h index 03f995abaa..08812416b9 100644 --- a/projects/aqlprofile/src/core/gfx9_factory.h +++ b/projects/aqlprofile/src/core/gfx9_factory.h @@ -51,8 +51,12 @@ class Gfx9Factory : public Pm4Factory { class Mi100Factory : public Gfx9Factory { public: explicit Mi100Factory(const AgentInfo* agent_info); + + virtual int GetAccumLowID() const override { return 1; } + + virtual int GetAccumHiID() const override { return 158; } - virtual uint32_t GetSpmSampleDelayMax() { return 0x34; } + virtual uint32_t GetSpmSampleDelayMax() { return 0x34; } protected: static const GpuBlockInfo* block_table_[AQLPROFILE_BLOCKS_NUMBER];