[HIP] cmath demote long double args to double
authorAaron En Ye Shi <enye.shi@gmail.com>
Wed, 25 Nov 2020 21:08:12 +0000 (21:08 +0000)
committerAaron En Ye Shi <enye.shi@gmail.com>
Thu, 3 Dec 2020 23:00:14 +0000 (23:00 +0000)
commitba2612ce01eae5859ae7adb99161775fb2c4e0b2
tree76ebece1d83e8a8b44ab4892a5bd7db3b9581058
parent0c866a3d6aa492b01c29a2c582c56c0fd75c2970
[HIP] cmath demote long double args to double

Since there is no ROCm Device Library support for
long double, demote them to double, and use the fp64
math functions.

Differential Revision: https://reviews.llvm.org/D92130
clang/lib/Headers/__clang_hip_cmath.h