forked from kokkos/kokkos
-
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.
core/src: Add half single and double mixed compare (LT,GT,LE,GE) (kok…
…kos#6407) * core/src: Add half single and double mixed compare (LT,GT,LE,GE) * Implement PR feedback: - Check whether T is convertible to float - Try upcasting floating_point_wrapper to float and relying on the toolchains implicit upcasting to kick in - Try comparing impl_type with T if impl_type is a full type * Add missing endif * Add missing ifdefs * Update core/src/impl/Kokkos_Half_FloatingPointWrapper.hpp Co-authored-by: Daniel Arndt <arndtd@ornl.gov> * Remove HALF_IS_FULL_TYPE branch --------- Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
- Loading branch information
1 parent
e04f637
commit 2075ae7
Showing
2 changed files
with
148 additions
and
27 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