File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1221,6 +1221,27 @@ __DEVICE__
1221
1221
inline _Float16 pow (_Float16 __base, int __iexp) {
1222
1222
return __ocml_pown_f16 (__base, __iexp);
1223
1223
}
1224
+
1225
+ __DEVICE__
1226
+ inline float remquo (float __x, float __y, int *__quo) {
1227
+ return remquof (__x, __y, __quo);
1228
+ }
1229
+
1230
+ template <typename __T1, typename __T2>
1231
+ __DEVICE__
1232
+ typename __hip_enable_if<std::numeric_limits<__T1>::is_specialized &&
1233
+ std::numeric_limits<__T2>::is_specialized,
1234
+ double >::type
1235
+ remquo (__T1 __x, __T2 __y, int *__quo) {
1236
+ return remquo ((double )__x, (double )__y, __quo);
1237
+ }
1238
+
1239
+ __DEVICE__
1240
+ inline float frexp (float __x, int *__nptr) { return frexpf (__x, __nptr); }
1241
+
1242
+ __DEVICE__
1243
+ inline float modf (float __x, float *__iptr) { return modff (__x, __iptr); }
1244
+
1224
1245
#endif
1225
1246
1226
1247
#pragma pop_macro("__DEF_FUN1")
You can’t perform that action at this time.
0 commit comments