]> granicus.if.org Git - clang/commit
[OpenMP] Enable the existing nocudalib flag for OpenMP offloading toolchain.
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 25 Sep 2017 21:56:32 +0000 (21:56 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 25 Sep 2017 21:56:32 +0000 (21:56 +0000)
commit4f45cc691315f2daaaa5a78fbc644d106f050af3
tree6108568beefcd8d74231abe36006abac3cd82d07
parent40e667da90d42871bbd1b3736203bdea7dbfcc7c
[OpenMP] Enable the existing nocudalib flag for OpenMP offloading toolchain.

Summary: Enable the -nocudalib flag for the OpenMP device offloading toolchain as well. Currently it can only be used for the CUDA toolchain.

Reviewers: Hahnfeld, ABataev, carlo.bertolli, caomhin, hfinkel, tra

Reviewed By: tra

Subscribers: hfinkel, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314164 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Cuda.cpp
test/Driver/openmp-offload-gpu.c