]> granicus.if.org Git - clang/commit
[OpenMP] Don't throw cudalib not found error if only front-end is required.
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Tue, 26 Sep 2017 15:36:20 +0000 (15:36 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Tue, 26 Sep 2017 15:36:20 +0000 (15:36 +0000)
commitad8b98899b8e54aef204a18b8708c94601cfa18f
tree7a7e4298045c412e5a889985f0477a01bf51772b
parent5578391943bf8fccf12a99199a87ae17969cbbfa
[OpenMP] Don't throw cudalib not found error if only front-end is required.

Summary: If we only use the compiler front-end, do not throw an error about the cuda device library not being found. This allows the front-end to be run on systems where no Cuda installation is found.

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

Reviewed By: tra

Subscribers: hfinkel, tra, cfe-commits

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

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