Skip to content

[Issue]: gfx_default_rocblas used without checking MIGRAPHX_USE_HIPBLASLT #4368

@trixirt

Description

@trixirt

Problem Description

When the cmake variable MIGRAPHX_USE_HIPBLASLT is OFF, there is this compile error

/src/targets/gpu/lowering.cpp:267:51: error: no member named 'gfx_default_rocblas' in namespace 'migraphx::gpu'
267 | not hipblaslt_supported() or gpu::gfx_default_rocblas()))

The failure happens because gfx_default_rocblas is conditionally defined here

https://github.com/ROCm/AMDMIGraphX/blob/develop/src/targets/gpu/include/migraphx/gpu/device_name.hpp#L48

Operating System

Fedora Rawhide

CPU

ALL

GPU

AMD Instinct MI300

Other

No response

ROCm Version

ROCm 6.0.0

Steps to Reproduce

ROCm version is really 7.0.1

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

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions