]> granicus.if.org Git - clang/commit
[OpenMP][bugfix] Add missing math functions variants for log and abs.
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 17 May 2019 19:15:53 +0000 (19:15 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 17 May 2019 19:15:53 +0000 (19:15 +0000)
commit22034f6b6b898814a7ec767819eeab6439282ffd
tree2c79ebf60e761bf35b0c19d3f3fec9ac231973bd
parentc7e50be537e3d5561dbd49fd2783e2f9724d2d70
[OpenMP][bugfix] Add missing math functions variants for log and abs.

Summary: When including the random header in C++, some of the math functions it relies on are not present in the CUDA headers. We include this variants in this case.

Reviewers: jdoerfert, hfinkel, tra, caomhin

Reviewed By: tra

Subscribers: efriedma, guansong, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62046

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361066 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/__clang_cuda_cmath.h
lib/Headers/__clang_cuda_math_forward_declares.h