| 1090 | } |
| 1091 | |
| 1092 | AF_CONSTEXPR static half infinity() { |
| 1093 | half out; |
| 1094 | #ifdef __CUDA_ARCH__ |
| 1095 | out.data_ = __half_raw{0x7C00}; |
| 1096 | #elif defined(AF_ONEAPI) |
| 1097 | out.data_ = std::numeric_limits<sycl::half>::infinity(); |
| 1098 | #else |
| 1099 | out.data_ = 0x7C00; |
| 1100 | #endif |
| 1101 | return out; |
| 1102 | } |
| 1103 | }; |
| 1104 | |
| 1105 | AF_CONSTEXPR __DH__ static inline bool operator==( |
no outgoing calls
no test coverage detected