Go to file
Artem Belevich c29db84419 [CUDA] Added a wrapper header for inclusion of stock CUDA headers.
Header files that come with CUDA are assuming split host/device
compilation and are not usable by clang out of the box.
With a bit of preprocessor magic it's possible to twist them
into something clang can use.

This wrapper always includes CUDA headers exactly the same way during
host and device compilation passes and produces identical preprocessed
content during host and device side compilation for sm_35 GPUs. Device
compilation passes for older GPUs will see a smaller subset of device
functions supported by particular GPU.

The wrapper assumes specific contents of CUDA header files and works
only with CUDA 7.0 and 7.5.

Differential Revision: http://reviews.llvm.org/D13171

llvm-svn: 253388
2015-11-17 22:28:52 +00:00
clang [CUDA] Added a wrapper header for inclusion of stock CUDA headers. 2015-11-17 22:28:52 +00:00
clang-tools-extra modularize: add install rule 2015-11-17 05:09:18 +00:00
compiler-rt [asan] Enable halt_on_error tests on OS X. 2015-11-17 16:34:39 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Fix bad variable name. project_root -> project_obj_root 2015-11-17 21:48:29 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Make it possible to use libunwind without heap. 2015-11-09 06:57:29 +00:00
lld Fixing build failures caused by r253367. Sorry for breaking the build. 2015-11-17 20:48:12 +00:00
lldb Cleanup indentation 2015-11-17 21:55:09 +00:00
llgo debug: Update for debug info API change. 2015-11-05 22:04:20 +00:00
llvm [llvm-profdata] Improve error messaging when merging mismatched profile data 2015-11-17 22:08:53 +00:00
openmp Add newlines to debug TRACE messages in kmp_taskdeps.cpp 2015-11-16 22:53:38 +00:00
polly ScopInfo: Ensure unique names for parameter names coming from load instructions 2015-11-17 11:54:51 +00:00