[Openmp-commits] [PATCH] D42643: [libomptarget] Check for library with CUDA Driver API

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 29 06:44:42 PST 2018


Hahnfeld created this revision.
Hahnfeld added reviewers: grokos, jlebar, tra.
Herald added subscribers: openmp-commits, hintonda, mgorny.

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.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D42643

Files:
  libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
  libomptarget/plugins/cuda/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42643.131793.patch
Type: text/x-patch
Size: 4460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180129/be615e32/attachment.bin>


More information about the Openmp-commits mailing list