diff options
| author | Artem Belevich <tra@google.com> | 2023-01-11 17:09:21 -0800 |
|---|---|---|
| committer | Artem Belevich <tra@google.com> | 2023-01-12 15:37:50 -0800 |
| commit | 1ad5f6af816a439a84f7d8fe3dff87dd1f8a39ba (patch) | |
| tree | bd8ff4c2da09bfa5a90f276af0b5ceb4442a848d /openmp/libomptarget/DeviceRTL/src/State.cpp | |
| parent | 57e455e6d90238f73db2b0c25d563c56e5a523e6 (diff) | |
[CUDA] added cmath wrappers to unbreak CUDA compilation after D79555
libc++ introduced a handful of internal functions that may or may not be
constexpr, depending on C++ version. For pre-constexpr variants we must declare
__device__ counterparts. Otherwise the code fails to compile on the GPU side.
See https://reviews.llvm.org/D79555
Differential Revision: https://reviews.llvm.org/D141555
Diffstat (limited to 'openmp/libomptarget/DeviceRTL/src/State.cpp')
0 files changed, 0 insertions, 0 deletions
