forked from kokkos/kokkos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinity, quiet_NaN, signaling_Nan, isfinite, isnan, isinf for ha…
…lf_t and bhalf_t (kokkos#6543) * Fix nvcc warning for non-trivial types in bit_cast * Introduce BitComparisonWrapper * Implement isnan, isfinite, isinf for half_t, bhalf_t with bit comparison * Fix infinity, quiet_NaN, signaling_NaN for half_t, bhalf_t * Improve tests * Disable TestCuda_WithoutInitializing for NVHPC * Define exponent/fraction_mask in FloatingPointWrapper.hpp * Minimize changes to TestMathematicalFunctions.hpp * Enable tests for inf, quiet_nan, signaling_nan for half_t and bhalf_t * Don't repeat storage class specifier in template specialization * Try inline constexpr and move definitons for the same type together * Disable numeric traits unit tests for NVHPC * Define comparison operators for BitComparisonWrapper * Fix TestNumericTraits, no constexpr consructor for [b]half_t
- Loading branch information
1 parent
97a90d5
commit d5a4802
Showing
7 changed files
with
342 additions
and
36 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
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
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
Oops, something went wrong.