[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 13:24:01 PST 2018
Hahnfeld planned changes to this revision.
Hahnfeld added a comment.
In https://reviews.llvm.org/D42643#991096, @tra wrote:
> 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.
That's great, thanks for the pointer! I'll update this patch when I find time.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D42643
More information about the Openmp-commits
mailing list