Skip to content

[Issue]: addr_create_input.chipRevision = 0; in ImageManagerKv made hip program fail on Mendocino(gfx1306) with debug build #1155

@robert-g-liu

Description

@robert-g-liu

Problem Description

hsa_status_t ImageManagerKv::Initialize(hsa_agent_t agent_handle) {
...
  addr_create_input.chipFamily = family_type_;
  addr_create_input.chipRevision = 0;  // TODO(bwicakso): find how to get this.
    case FAMILY_MDN:
        if (ASICREV_IS_MENDOCINO(chipRevision))
        {
            m_settings.supportRbPlus   = 1;
            m_settings.dccUnsup3DSwDis = 0;
        }
        else
        {
            ADDR_ASSERT(!"Unknown chip revision");
        }
        break;

ASICREV_IS_MENDOCINO is from 0x1 to 0xff.

Operating System

Ubuntu 24.04.3 LTS

CPU

AMD Ryzen 5 7520U with Radeon Graphics

GPU

AMD Ryzen 5 7520U with Radeon Graphics

ROCm Version

Latest rocm source from rocm-systems

ROCm Component

ROCR-Runtime

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions