-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use std::isnan() and isinf() with C++11 (Trilinos #239)
The ATTB machine 'white' which is a POWER8 with GCC 4.9.2 and CUDA 7.5 fails the unit tests for ST::isnaninf() which uses the genetic inequality test for NaNs. This may be due to heavy compiler optimizations. Therefore, we are going to try to C++11 functions std::isnan() and std::isinf(). I have ifdefed this based on C++11. Without C++11, it just uses the old generic implementaion. I have tested this with and without C++11 enabled and they both passed on the machine hansen using the GCC 4.8.4 compiler. Build/Test Cases Summary Enabled Packages: TeuchosCore Disabled Packages: PyTrilinos,Pliris,Claps,STK,TriKota Enabled all Forward Packages 0) MPI_DEBUG => passed: passed=1403,notpassed=0 (54.55 min) 1) SERIAL_RELEASE => passed: passed=1323,notpassed=0 (40.93 min)
- Loading branch information
1 parent
9b9b8c0
commit 7363684
Showing
2 changed files
with
19 additions
and
31 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
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