yaxunl added inline comments.

================
Comment at: clang/lib/Headers/__clang_hip_cmath.h:309
+};
+template <> struct is_arithmetic<_Float16> {
+  enum { value = 1 };
----------------
This changes the overloading behavior of math functions with _Float16 arguments 
since previously we use std::numeric_limits<T>::is_specialized to determine 
whether a type is an arithmetic, which is not specialized for _Float16.

To make this patch NFC for non-hipRTC, I would like to split this part to 
another patch. This facilitates debugging if issues arise


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100794/new/

https://reviews.llvm.org/D100794

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to