Skip to content
New issue

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

Test compilation fails when float or complex<float> is enabled #86

Closed
mndevec opened this issue Sep 18, 2017 · 1 comment
Closed

Test compilation fails when float or complex<float> is enabled #86

mndevec opened this issue Sep 18, 2017 · 1 comment
Assignees
Labels

Comments

@mndevec
Copy link
Contributor

mndevec commented Sep 18, 2017

I am getting errors as below when float or complex float is enabled.
@kyungjoo-kim , could you have a look at that?

/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp: In instantiation of ‘void Test::impl_test_batched_vector_arithmatic() [with VectorTagType = KokkosBatched::Experimental::VectorTag<KokkosBatched::Experimental::AVX<float, Kokkos::OpenMP>, 8>]’:
/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp:163:60:   required from ‘int test_batched_vector_arithmatic() [with DeviceType = Kokkos::OpenMP; VectorTagType = KokkosBatched::Experimental::VectorTag<KokkosBatched::Experimental::AVX<float, Kokkos::OpenMP>, 8>]’
/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp:202:65:   required from here
/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp:19:46: error: invalid use of incomplete type ‘class KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::VectorTag<KokkosBatched::Experimental::AVX<float, Kokkos::OpenMP>, 8> >’
     typedef typename vector_type::value_type value_type;    
                                              ^
In file included from /home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp:7:0,
                 from /home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/openmp/Test_OpenMP_Batched_VectorArithmatic.cpp:2:
/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/example/buildlib/install/include/KokkosBatched_Vector.hpp:11:11: error: declaration of ‘class KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::VectorTag<KokkosBatched::Experimental::AVX<float, Kokkos::OpenMP>, 8> >’
     class Vector;
           ^
In file included from /home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/openmp/Test_OpenMP_Batched_VectorArithmatic.cpp:2:0:
/home/mndevec/work/kokkoskernelses/kokkoskernels_fork/unit_test/batched/Test_Batched_VectorArithmatic.hpp:20:44: error: incomplete type ‘vector_type {aka KokkosBatched::Experimental::Vector<KokkosBatched::Experimental::VectorTag<KokkosBatched::Experimental::AVX<float, Kokkos::OpenMP>, 8> >}’ used in nested name specifier
     const int vector_length = vector_type::vector_length;                                      

@mndevec mndevec changed the title Test compilation fails when float and complex<float> is enabled Test compilation fails when float or complex<float> is enabled Sep 18, 2017
@crtrott crtrott added the bug label Sep 19, 2017
kyungjoo-kim added a commit that referenced this issue Sep 20, 2017
With floats, we have following failures.

[  PASSED  ] 378 tests.
[  FAILED  ] 14 tests, listed below:
[  FAILED  ] openmp.abs_float
[  FAILED  ] openmp.abs_mv_float
[  FAILED  ] openmp.nrm2_squared_float
[  FAILED  ] openmp.nrm2_squared_mv_float
[  FAILED  ] openmp.reciprocal_mv_float
[  FAILED  ] openmp.scal_mv_float
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_int_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_int_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_size_t_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_size_t_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_int_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_int_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_size_t_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_size_t_LayoutRight_TestExecSpace
@kyungjoo-kim
Copy link
Contributor

Push a PR. We do not have AVX batch for float. Disable the test.

mndevec added a commit that referenced this issue Oct 3, 2017
Disable AVX float test (we do not have impl for that) -- #86
kyungjoo-kim added a commit that referenced this issue Dec 11, 2017
With floats, we have following failures.

[  PASSED  ] 378 tests.
[  FAILED  ] 14 tests, listed below:
[  FAILED  ] openmp.abs_float
[  FAILED  ] openmp.abs_mv_float
[  FAILED  ] openmp.nrm2_squared_float
[  FAILED  ] openmp.nrm2_squared_mv_float
[  FAILED  ] openmp.reciprocal_mv_float
[  FAILED  ] openmp.scal_mv_float
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_int_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_int_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_size_t_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_size_t_LayoutLeft_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_int_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_int_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int_size_t_LayoutRight_TestExecSpace
[  FAILED  ] openmp.sparse_trsv_mv_kokkos_complex_float_int64_t_size_t_LayoutRight_TestExecSpace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants