Skip to content

Kokkos 5.0 does not support custom View layouts needed for AoSoA #864

Description

@JStewart28

When installing Cabana with Spack using Kokkos 5.0, the following error is generated:

1 error found in build log:
     16    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
     17    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
     18    -- Found Threads: TRUE
     19    -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
     20    -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Success
     21    -- Enabled Kokkos devices: SERIAL;HIP
  >> 22    CMake Error at CMakeLists.txt:46 (message):
     23    Current Kokkos does not support custom View layouts needed for
             AoSoA unless Kokkos is built with Kokkos_ENABLE_IMPL_VIEW_LEGACY=ON.
     25

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