Skip to content

[Issue]: gfx1036 Windows build fails #1443

@umarinkovic

Description

@umarinkovic

Problem Description

Running the build out of the box for the gfx1036 target fails at the rocBLAS configure step, apparently due to rocBLAS's Tensile not supporting gfx1036 as a target (see the logs below for more info).

I'm using Windows but I suspect this is an issue on Linux as well.

The TensileSupportedArchitectures.cmake file lists all gfx103X architectures (all but gfx1036) as supported, even gfx1031 which I believe isn't even officially supported by ROCm:

list(APPEND BASE_ARCHITECTURES 
        "gfx803"
        "gfx900"
        "gfx906"
        "gfx908"
        "gfx90a"
        "gfx942"
        "gfx950"
        "gfx1010"
        "gfx1011"
        "gfx1012"
        "gfx1030"
        "gfx1031"
        "gfx1032"
        "gfx1034"
        "gfx1035"
        "gfx1100"
        "gfx1101"
        "gfx1102"
        "gfx1103"
        "gfx1150"
        "gfx1151"
        "gfx1200"
        "gfx1201")
    
    set(SUPPORTED_ARCHITECTURES ${BASE_ARCHITECTURES})

I've previously been able to successfully build and package ROCm for gfx1030 on this same setup.

Is this a genuine case of lacking support for the gfx1036 in Tensile?

Operating System

Windows 11 Enterprise : 10.0.26100

CPU

AMD Ryzen 9 7900X 12-Core Processor

GPU

AMD Radeon(TM) Graphics, AMD Radeon RX 6700 XT

ROCm Version

7.0.0

ROCm Component

rocBLAS

Steps to Reproduce

No response

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

No response

Additional Information

From the build log:

FAILED: [code=1] math-libs/BLAS/rocBLAS/stamp/configure.stamp math-libs/BLAS/rocBLAS/build/CMakeCache.txt math-libs/BLAS/rocBLAS/build/cmake_install.cmake compile_commands_fragment_rocBLAS.json ...

rocBLAS-configure log:

332.4 CMake Error at C:/dev/repos/TheRock/output/build/math-libs/BLAS/rocBLAS/build/virtualenv/Lib/site-packages/Tensile/Source/cmake/TensileSupportedArchitectures.cmake:92 (message): 
332.4 Unsupported GPU target: gfx1036 332.4 332.4 Supported targets are:
332.4 gfx803;gfx900;gfx906;gfx908;gfx90a;gfx942;gfx950;gfx1010;gfx1011;gfx1012;gfx1030;gfx1031;gfx1032;gfx1034;gfx1035;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1200;gfx1201;gfx906:xnack+;gfx906:xnack-;gfx908:xnack+;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx942:xnack+;gfx942:xnack-;gfx950:xnack+;gfx950:xnack- 
332.4 Call Stack (most recent call first): 
332.4 C:/dev/repos/TheRock/output/build/math-libs/BLAS/rocBLAS/build/virtualenv/Lib/site-packages/Tensile/Source/CMakeLists.txt:59 (tensile_validate_gpu_targets) 
332.4
332.4
332.4 -- Configuring incomplete, errors occurred! 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    TODO

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions