[PATCH] D156366: HIP: Use __builtin_sqrt instead of routing through ocml sqrt for f64

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 13:50:40 PDT 2023


arsenm created this revision.
arsenm added reviewers: yaxunl, jhuber6, JonChesterfield.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

llvm.sqrt.f64 now works correctly and should be called directly.


https://reviews.llvm.org/D156366

Files:
  clang/lib/Headers/__clang_hip_math.h
  clang/test/Headers/__clang_hip_math.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156366.544506.patch
Type: text/x-patch
Size: 201139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230726/d0f0dea1/attachment-0001.bin>


More information about the cfe-commits mailing list