Skip to content

HIP complaints when building alpaka #1211

@StewMH

Description

@StewMH

Trying to switch to alpaka 2.0, I get this error:

CMake Error at bld/_deps/alpaka-src/cmake/alpakaCommon.cmake:69 (message):
  The HIP compiler does not support C++ 20.  Please upgrade your compiler or
  use alpaka 1.2 which supports C++17.
Call Stack (most recent call first):
  bld/_deps/alpaka-src/cmake/alpakaCommon.cmake:549 (checkCompilerCXXSupport)
  bld/_deps/alpaka-src/CMakeLists.txt:96 (include)

I don't reproduce this in a small standalone cmake example, and I can work around it with -DCMAKE_HIP_COMPILE_FEATURES=hip_std_20. I think we have a nest of competing HIP setups, from rocm libraries and from vecmem.

I suspect it's the same issue for acts-project/covfie#94, so hopefully I can revert that as well once this is fixed.

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