]> 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>
Mon, 25 Sep 2017 21:07:16 +0000 (21:07 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 25 Sep 2017 21:07:16 +0000 (21:07 +0000)
commitef0495fb690bf0b30a3d502c573f9b4ba023abbd
treebff478a543e41775e6db541d3629448e8bd0f44c
parent5572f1b64d86ea308afb43ce60ee66b66ab0c88e
[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@314150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Cuda.cpp
test/Driver/openmp-offload-gpu.c