Commit b13de57f authored by Jonas Hahnfeld's avatar Jonas Hahnfeld
Browse files

[libomptarget] Check for library with CUDA Driver API

That's what we really need to link the CUDA plugin against,
not the CUDA runtime API in CUDA_LIBRARIES! While the latter
comes with the CUDA SDK, the Driver API is installed with
the kernel driver and there is at most one per system. As
fallback we can use the stubs library distributed with the
CUDA SDK for linking.

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

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@323787 91177308-0d34-0410-b5e6-96231b3b80d8
parent 57ad6a2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment