forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KokkosKernels: use numeric_limits<T>::quiet_NaN
using this instead of strtod() and friends dramatically speeds up the Kokkos::ArithTraits<T>::nan() function. The performance test packages/minitensor/test/perf_test_01.cc went from 5.5 seconds to 0.6 seconds. see kokkos/kokkos-kernels#35
- Loading branch information
Showing
1 changed file
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters