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

openmp.batched_vector_arithmatic_simd_dcomplex2 failure with gcc/4.8.4 + OpenMP #231

Closed
ndellingwood opened this issue May 4, 2018 · 3 comments

Comments

@ndellingwood
Copy link
Contributor

@kyungjoo-kim A spot-check on Apollo exposed this test failure below, hopefully just a small touch-up needed for your SIMD fixes?

[ RUN      ] openmp.batched_vector_arithmatic_simd_dcomplex2
/home/ndellin/kokkos-kernels/unit_test/../test_common/KokkosKernels_TestUtils.hpp:85: Failure
The difference between double(AT1::abs(val1)) and double(AT2::abs(val2)) is 1.3067744696188346, which exceeds double(AT3::abs(tol)), where
double(AT1::abs(val1)) evaluates to 0,
double(AT2::abs(val2)) evaluates to 1.3067744696188346, and
double(AT3::abs(tol)) evaluates to 0.
/home/ndellin/kokkos-kernels/unit_test/../test_common/KokkosKernels_TestUtils.hpp:85: Failure
The difference between double(AT1::abs(val1)) and double(AT2::abs(val2)) is 0.49846081263005498, which exceeds double(AT3::abs(tol)), where
double(AT1::abs(val1)) evaluates to 0,
double(AT2::abs(val2)) evaluates to 0.49846081263005498, and
double(AT3::abs(tol)) evaluates to 0.
//many more repeats like this...
@ndellingwood
Copy link
Contributor Author

gcc/5.3.0 + Serial backend also has this test failure on Apollo

[  FAILED  ] 1 test, listed below:
[  FAILED  ] serial.batched_vector_arithmatic_simd_dcomplex2

As an extra data point, clang/3.9.0 + Serial passed.

@kyungjoo-kim
Copy link
Contributor

thank you. I think that I know the problem. will add a fix .

@ndellingwood
Copy link
Contributor Author

@kyungjoo-kim the test_all_sandia script for Apollo explicitly sets SNB as the arch, in case this is relevant info.

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

No branches or pull requests

2 participants