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

use numeric_limits<T>::quiet_NaN #36

Merged
merged 2 commits into from
Jul 21, 2017
Merged

Conversation

ibaned
Copy link
Contributor

@ibaned ibaned commented Jul 11, 2017

using this instead of strtod() and friends
dramatically speeds up the
Kokkos::ArithTraits::nan()
function.
The performance test
Trilinos/packages/minitensor/test/perf_test_01.cc
went from 5.5 seconds to 0.6 seconds.

see #35

using this instead of strtod() and friends
dramatically speeds up the
Kokkos::ArithTraits<T>::nan()
function.
The performance test
Trilinos/packages/minitensor/test/perf_test_01.cc
went from 5.5 seconds to 0.6 seconds.

see kokkos#35
@crtrott crtrott merged commit 0aa2119 into kokkos:develop Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants