You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/backends/Test_Serial_Blas.cpp:5:
In file included from /ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/Test_Blas.hpp:28:
In file included from /ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/Test_Blas1_swap.hpp:1:
/ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/src/KokkosBlas1_swap.hpp:122:70: error: no member named 'swap' in 'KokkosBlas::Impl::Swap<Kokkos::Serial, Kokkos::View<Kokkos::complex<float> *, Kokkos::LayoutLeft, Kokkos::Device<Kokkos::Serial, Kokkos::HostSpace>, Kokkos::MemoryTraits<Kokkos::Unmanaged>>, Kokkos::View<Kokkos::complex<float> *, Kokkos::LayoutLeft, Kokkos::Device<Kokkos::Serial, Kokkos::HostSpace>, Kokkos::MemoryTraits<Kokkos::Unmanaged>>, true, true>'
Impl::Swap<execution_space, XVector_Internal, YVector_Internal>::swap(space,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/src/KokkosBlas1_swap.hpp:145:3: note: in instantiation of function template specialization 'KokkosBlas::swap<Kokkos::Serial, Kokkos::View<Kokkos::complex<float> *, Kokkos::Serial>, Kokkos::View<Kokkos::complex<float> *, Kokkos::Serial>>' requested here
swap(space, x, y);
^
/ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/Test_Blas1_swap.hpp:28:15: note: in instantiation of function template specialization 'KokkosBlas::swap<Kokkos::View<Kokkos::complex<float> *, Kokkos::Serial>, Kokkos::View<Kokkos::complex<float> *, Kokkos::Serial>>' requested here
KokkosBlas::swap(X, Y);
^
/ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/Test_Blas1_swap.hpp:50:15: note: in instantiation of function template specialization 'Test::Impl::test_swap<Kokkos::View<Kokkos::complex<float> *, Kokkos::Serial>>' requested here
Test::Impl::test_swap<Vector>(0);
^
/ascldap/users/bmkelle/weaverMisc/kokkos-kernels/blas/unit_test/Test_Blas1_swap.hpp:83:3: note: in instantiation of function template specialization 'test_swap<Kokkos::complex<float>, Kokkos::Serial>' requested here
test_swap<Kokkos::complex<float>, TestExecSpace>();
^
1 error generated.
It seems that the key combination to reproduce this is host blas enabled + complex_float enabled. It might also fail with complex_double, but I haven't tried this.
The text was updated successfully, but these errors were encountered:
brian-kelley
changed the title
Blas1 swap: build errors when enabling openblas with clang
Blas1 swap: build errors when enabling openblas and complex_float
Dec 7, 2022
@lucbv
On weaver rhel8, with:
and kokkos/kokkos-kernels on today's develop, doing:
I get this when building blas unit tests:
It seems that the key combination to reproduce this is host blas enabled + complex_float enabled. It might also fail with complex_double, but I haven't tried this.
The text was updated successfully, but these errors were encountered: