[Openmp-commits] [PATCH] D42643: [libomptarget] Check for library with CUDA Driver API
Artem Belevich via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 29 12:59:43 PST 2018
tra added a comment.
You may want to consider linking with <CUDA>/lib64/**stubs**/libcuda.so. This way you don't really care whether nvidia's driver is installed on the system you compile on and all you need for compilation is a CUDA installation. At runtime dynamic linker will pick the real libcuda.so from wherever it's installed.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D42643
More information about the Openmp-commits
mailing list