Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Build failure with latest Open DPC++ (LLVM) compiler #526

@sknepper

Description

@sknepper

Testing with the recent fix to the oneMKL interfaces repository (uxlfoundation/oneMath#534), I'm seeing build failures in portBLAS with the LLVM compiler. There are errors like:

In file included from /.../build/deps/portblas-src/src/portblas.hpp:33:
/.../build/deps/portblas-src/src/interface/blas1_interface.hpp:358:24: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   358 |     sb_handle.template release_temp_mem({*ret.rbegin()}, gpu_res);
       |                        ^

/.../build/deps/portblas-src/src/interface/blas3/backend/default.hpp:58:20: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    58 |           template _select_gemm(sb_handle, _M, _N, _K, _alpha, _a, _lda,
       |                    ^

And similar in other files.
This seems to happen for all hardware (x86, Intel GPU, NVIDIA GPU, and AMD GPU), but only with the LLVM compiler. The LLVM compiler from around July 11 was tested. Thanks!

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