[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
parent
57e455e6
Please register or sign in to comment