Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sknepper opened this issue Jul 17, 2024 · 2 comments
Closed

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

sknepper opened this issue Jul 17, 2024 · 2 comments

Comments

@sknepper
Copy link

Testing with the recent fix to the oneMKL interfaces repository (oneapi-src/oneMKL#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!

@Rbiessy
Copy link
Collaborator

Rbiessy commented Jul 17, 2024

Thank you for the issue @sknepper. Yes this is due to a recent breaking change in the compiler. We'll look into this.

@Rbiessy
Copy link
Collaborator

Rbiessy commented Jul 26, 2024

The PR was merged.

@Rbiessy Rbiessy closed this as completed Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants