Skip to content

Commit 51c5343

Browse files
Crash issue fix on MI100 (#160)
* Crash issue fix on MI100 --------- Co-authored-by: Sushma Vaddireddy <svaddire@amd.com>
1 parent cec481b commit 51c5343

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/gfx9_factory.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ class Gfx9Factory : public Pm4Factory {
5151
class Mi100Factory : public Gfx9Factory {
5252
public:
5353
explicit Mi100Factory(const AgentInfo* agent_info);
54+
55+
virtual int GetAccumLowID() const override { return 1; }
56+
57+
virtual int GetAccumHiID() const override { return 158; }
5458

55-
virtual uint32_t GetSpmSampleDelayMax() { return 0x34; }
59+
virtual uint32_t GetSpmSampleDelayMax() { return 0x34; }
5660

5761
protected:
5862
static const GpuBlockInfo* block_table_[AQLPROFILE_BLOCKS_NUMBER];

0 commit comments

Comments
 (0)