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

Kokkos-free einspline reference implementation #1

Open
wants to merge 2 commits into
base: kokkos
Choose a base branch
from

Conversation

jptowns
Copy link

@jptowns jptowns commented Apr 25, 2019

This pull request implements a Kokkos-free einspline reference.

The major changes include:

  • Several new .hpp and .cpp files marked with "_ref" that were shamelessly stolen from the "develop" branch of miniqmc.
  • Slight re-tooling of check_spo.cpp to account for the difference in data access pattern in the reference.
  • Additions to the main CMakeLists.txt to include the _ref files mentioned above.

check_spo compiles and passes on both Power9 and V100 devices!

jptowns added 2 commits April 25, 2019 14:34
check_spo compiles and runs - but fails with a large error. Probably
due to spo initialization order mis-match between ref and kokkos.

See the differences between the set() methods for the Kokkos and ref implementations.
Turns out I'm a dummy and had a fencepost error in the calculation of the error between
the reference and kokkos implementations. Changing a "6" to a "5" fixed the problem, and
now check_spo passes on both power9, and V100 !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant