This is a fix for the reported bug:
abs functions need to be moved under the c++ macro to avoid conflicts with included headers.
| Paths 
 |  Differential  D61959  
[OpenMP][Bugfix] Move double and float versions of abs under c++ macro ClosedPublic Authored by gtbercea on May 15 2019, 12:51 PM. 
Details 
 Summary This is a fix for the reported bug: abs functions need to be moved under the c++ macro to avoid conflicts with included headers. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.May 15 2019, 1:06 PM Closed by commit rC360809: [OpenMP][Bugfix] Move double and float versions of abs under c++ macro (authored by gbercea).  ·  Explain WhyMay 15 2019, 1:25 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 199664 lib/Headers/__clang_cuda_cmath.h
 lib/Headers/__clang_cuda_math_forward_declares.h
 test/Headers/Inputs/include/cstdlib
 test/Headers/nvptx_device_cmath_functions.c
 test/Headers/nvptx_device_cmath_functions.cpp
 test/Headers/nvptx_device_cmath_functions_cxx17.cpp
 test/Headers/nvptx_device_math_functions.c
 test/Headers/nvptx_device_math_functions.cpp
 test/Headers/nvptx_device_math_functions_cxx17.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||