[HIP] Fix HIP rounding math intrinsics
authorAaron En Ye Shi <enye.shi@gmail.com>
Thu, 22 Oct 2020 15:07:47 +0000 (15:07 +0000)
committerAaron En Ye Shi <enye.shi@gmail.com>
Thu, 22 Oct 2020 15:57:09 +0000 (15:57 +0000)
commitb2524eb9445a4487115c8f94fd946d2c4c95f652
treecedf3d6d7bcb472f183f52269628b4849b245d95
parente24537d48fb382fd651154749634b4e6332e52f9
[HIP] Fix HIP rounding math intrinsics

The __ocml_*_rte_f32 and __ocml_*_rte_f64 functions are not
available if OCML_BASIC_ROUNDED_OPERATIONS is not defined.

Reviewed By: b-sumner, yaxunl

Fixes: SWDEV-257235

Differential Revision: https://reviews.llvm.org/D89966
clang/lib/Headers/__clang_hip_math.h