diff options
author | Evgeny Mankov <evgeny.mankov@gmail.com> | 2019-03-15 12:05:36 +0000 |
---|---|---|
committer | Evgeny Mankov <evgeny.mankov@gmail.com> | 2019-03-15 12:05:36 +0000 |
commit | 04188fc0c6e61b62f2c8efde620d637bd7caf926 (patch) | |
tree | 4142efa302f7939c5561761fcb6d9607b61b55ac /lldb/packages/Python/lldbsuite/test/redo.py | |
parent | 5f5a74582f8abb2935f9a6f6df3a55dc825f5412 (diff) | |
download | llvm-04188fc0c6e61b62f2c8efde620d637bd7caf926.zip llvm-04188fc0c6e61b62f2c8efde620d637bd7caf926.tar.gz llvm-04188fc0c6e61b62f2c8efde620d637bd7caf926.tar.bz2 |
[CUDA][Windows] Partial fix for bug #38811 (Step 1 of 3)
Partial fix for the clang Bug https://bugs.llvm.org/show_bug.cgi?id=38811 "Clang fails to compile with CUDA-9.x on Windows".
Adding defined(_WIN64) check along with existing #if defined(__LP64__) eliminates the below clang (64-bit) compilation error on Windows.
C:/GIT/LLVM/trunk/llvm-64-release-vs2017/dist/lib/clang/9.0.0\include\__clang_cuda_device_functions.h(1609,45): error GEF7559A7: no matching function for call to 'roundf'
__DEVICE__ long lroundf(float __a) { return roundf(__a); }
Reviewed by: Artem Belevich
Differential Revision: http://reviews.llvm.org/D59361
llvm-svn: 356255
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/redo.py')
0 files changed, 0 insertions, 0 deletions