[CUDA][Windows] Restrict long double device functions declarations to Windows
authorEvgeny Mankov <evgeny.mankov@gmail.com>
Thu, 18 Apr 2019 10:08:55 +0000 (10:08 +0000)
committerEvgeny Mankov <evgeny.mankov@gmail.com>
Thu, 18 Apr 2019 10:08:55 +0000 (10:08 +0000)
commit88aa3d7237687504335b2a62e39678f6a8f7e06d
treeb1af5ebcab9ecdd3b1f863c1204498179e9499f0
parent69186f82f3f557423618d7e5ffeb3355e89ce73a
[CUDA][Windows] Restrict long double device functions declarations to Windows

As agreed in D60220, make long double declarations unobservable on non-windows platforms.

[Testing]
{Windows 10, Ubuntu 16.04.5}/{Visual C++ 2017 15.9.11 & 2019 16.0.1, gcc+ 5.4.0}/CUDA {8.0, 9.0, 9.1, 9.2, 10.0, 10.1}

Reviewed by: Artem Belevich

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

llvm-svn: 358654
clang/lib/Headers/__clang_cuda_cmath.h
clang/lib/Headers/__clang_cuda_device_functions.h
clang/lib/Headers/__clang_cuda_math_forward_declares.h