[PATCH] D69990: Populate CUDA flags on FreeBSD too, as many other toolchains do.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 12:05:25 PST 2019


tra added a comment.

In D69990#1790154 <https://reviews.llvm.org/D69990#1790154>, @6yearold wrote:

> > It's somewhat old and misses few glue functions needed by CUDA-10, but it should work well enough for CUDA-9.
>
> Interesting, thanks for sharing. However, at quick look, it seems to require other CUDA libraries (`libcuda`, `libcublas`, etc.), which also aren't available for FreeBSD.


cuBLAS is only for testing. The runtime itself does not need it.

libcuda.so is normally part of the GPU *driver* not CUDA itself, at least it is on Linux. I didn't check if that's also the case on FreeBSD.
Looks like you're correct -- the driver archive only has NVIDIA-FreeBSD-x86_64-440.44/obj/linux/libcuda.so.440.44 in it.

:-(


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69990/new/

https://reviews.llvm.org/D69990





More information about the cfe-commits mailing list