We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LINALG_ENABLE_KOKKOS_DEFAULT
@crtrott @mhoemmen
I was trying to build using Kokkos, using this cmake line: when I configure, I use:
cmake \ -Dmdspan_DIR=${MDSPAN_PFX}/lib/cmake/mdspan \ -DLINALG_ENABLE_TESTS=On \ -DLINALG_ENABLE_EXAMPLES=On \ -DCMAKE_BUILD_TYPE="${btype}" \ \ -DLINALG_ENABLE_KOKKOS=On \ -DKokkos_DIR=${KOKKOS_DIR} \ -DKokkosKernels_DIR=${KOKKOS_KER_DIR} \ \ -DCMAKE_VERBOSE_MAKEFILE=On \ -DCMAKE_INSTALL_PREFIX=../stdblas-install \ -DGTEST_ROOT=../install_gtest \ ../stdBLAS/
But that causes a problem, because in this file: linalg_execpolicy_mapper.hpp we have:
linalg_execpolicy_mapper.hpp
#if defined(LINALG_ENABLE_KOKKOS) && defined(LINALG_ENABLE_KOKKOS_DEFAULT) #include <experimental/__p1673_bits/kokkos-kernels/exec_policy_wrapper_kk.hpp> #endif
and since LINALG_ENABLE_KOKKOS_DEFAULT is NOT set at all, I get a compile error because that header is not included. If I change that to || it works.
||
But was wondering: what is the role of LINALG_ENABLE_KOKKOS_DEFAULT? Is that supposed to be set by user? Or what?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@crtrott @mhoemmen
I was trying to build using Kokkos, using this cmake line:
when I configure, I use:
But that causes a problem, because in this file:
linalg_execpolicy_mapper.hpp
we have:and since
LINALG_ENABLE_KOKKOS_DEFAULT
is NOT set at all, I get a compile error because that header is not included.If I change that to
||
it works.But was wondering: what is the role of
LINALG_ENABLE_KOKKOS_DEFAULT
? Is that supposed to be set by user? Or what?The text was updated successfully, but these errors were encountered: