Skip to content

build failure without kokkos #270

Description

@prlw1

Given a include/experimental/__p1673_bits/linalg_config.h file containing

#pragma once

/* #undef LINALG_ENABLE_ATOMIC_REF */
#define LINALG_ENABLE_BLAS
#define LINALG_ENABLE_CONCEPTS
/* #undef LINALG_ENABLE_KOKKOS */
/* #undef LINALG_ENABLE_KOKKOS_DEFAULT */

when trying to compile

#include <experimental/linalg>

int main() { }

with g++ 12.3.0 or 15.0.0 20240507 (experimental) by invoking

c++ -std=c++23 -I/usr/src/local/stdBLAS/include -I/usr/src/local/mdspan/include -c trivial.cc

(or c++20 or c++26 for 15.0.0), I see many errors, which first makes me wonder: is the above meant to work?

Some seem to be related to is_line_exec_v such as:

/usr/src/local/stdBLAS/include/experimental/__p1673_bits/blas1_givens.hpp:106:16: error: ‘is_inline_exec_v’ is not a member of ‘Kokkos::Experimental::__p1673_version_0::linalg::impl’

or

/usr/src/local/stdBLAS/include/experimental/__p1673_bits/blas1_linalg_swap.hpp:127:10: error: ‘is_inline_exec_v’ was not declared in this scope

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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