]> granicus.if.org Git - clang/commit
[CUDA] Support <complex> and std::min/max on the device.
authorJustin Lebar <jlebar@google.com>
Sat, 8 Oct 2016 22:16:12 +0000 (22:16 +0000)
committerJustin Lebar <jlebar@google.com>
Sat, 8 Oct 2016 22:16:12 +0000 (22:16 +0000)
commit8f211f3799c21d659d8f7d0cebf75ea5c49f0190
tree47d5f2b4825df326b56c4c8442ee900c9897914b
parent204eb555222d86837d865007c1526018e391bf67
[CUDA] Support <complex> and std::min/max on the device.

Summary:
We do this by wrapping <complex> and <algorithm>.

Tests are in the test-suite.

Reviewers: tra

Subscribers: jhen, beanz, cfe-commits, mgorny

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Headers/CMakeLists.txt
lib/Headers/__clang_cuda_complex_builtins.h [new file with mode: 0644]
lib/Headers/__clang_cuda_runtime_wrapper.h
lib/Headers/cuda_wrappers/algorithm [new file with mode: 0644]
lib/Headers/cuda_wrappers/complex [new file with mode: 0644]