]> granicus.if.org Git - clang/commit
CUDA: Add option to allow host device functions to call host functions
authorJacques Pienaar <jpienaar@google.com>
Tue, 24 Feb 2015 21:45:33 +0000 (21:45 +0000)
committerJacques Pienaar <jpienaar@google.com>
Tue, 24 Feb 2015 21:45:33 +0000 (21:45 +0000)
commitabf9e1982197f2a4ff6dd640c542183d4c8ee35a
tree71df61352bdbb5aeaa2fd82f80309d6512ebcefe
parent777b9c4ae57fc5275d9c8481e6957104abd539c2
CUDA: Add option to allow host device functions to call host functions

Commiting code from review http://reviews.llvm.org/D7841

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230385 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaCUDA.cpp
test/CodeGenCUDA/host-device-calls-host.cu [new file with mode: 0644]
test/SemaCUDA/function-target-hd.cu [new file with mode: 0644]
test/SemaCUDA/function-target.cu