yaxunl accepted this revision.
yaxunl added a comment.
This revision is now accepted and ready to land.

LGTM. Thanks.



================
Comment at: clang/lib/Headers/__clang_hip_math.h:561
 inline double abs(double __x) { return __ocml_fabs_f64(__x); }
+#endif
 __DEVICE__
----------------
JonChesterfield wrote:
> yaxunl wrote:
> > jdoerfert wrote:
> > > Nit: You mix the C and C++ math declarations in this file, while 
> > > possible, I somehow thing the cuda_{cmath/math} split is nicer.
> > right
> Open to me implementing that in a later patch?
If you could work on it that would be great.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84476



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

Reply via email to