]> granicus.if.org Git - clang/commit
[CUDA] Include CUDA headers before anything else.
authorJustin Lebar <jlebar@google.com>
Mon, 15 Aug 2016 20:38:52 +0000 (20:38 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 15 Aug 2016 20:38:52 +0000 (20:38 +0000)
commit12e216a7865d10ba7aa62a0d3113d490eda53f59
tree7ab22530705b3134fc85df57f1994ea7acd4499f
parenta3e26986aead3299af2f90cf4d9024e3abb44b8e
[CUDA] Include CUDA headers before anything else.

Summary:
There's no point to --cuda-path if we then go and include /usr/include
first.  And if you install the right packages, Ubuntu will install (very
old) CUDA headers there.

Reviewers: tra

Subscribers: cfe-commits, Prazek

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278734 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/cuda-detect.cu