[PATCH] D24979: [CUDA] Support <complex> and std::min/max on the device.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 11:44:17 PDT 2016
jlebar created this revision.
jlebar added a reviewer: tra.
jlebar added subscribers: cfe-commits, jhen.
Herald added subscribers: mgorny, beanz.
We do this by wrapping <complex> and <algorithm>.
Tests are in the test-suite. <complex.h> support to come separately.
https://reviews.llvm.org/D24979
Files:
clang/lib/Driver/ToolChains.cpp
clang/lib/Headers/CMakeLists.txt
clang/lib/Headers/__clang_cuda_complex_builtins.h
clang/lib/Headers/__clang_cuda_runtime_wrapper.h
clang/lib/Headers/cuda_wrappers/algorithm
clang/lib/Headers/cuda_wrappers/complex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24979.72686.patch
Type: text/x-patch
Size: 18058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160927/b461af0b/attachment-0001.bin>
More information about the cfe-commits
mailing list