tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

LGTM, though I'm curious if it's particularly useful. Last time I checked 
NVIDIA didn't ship libcudart for FreeBSD and without it it's rather cumbersome 
to use CUDA in practice.
You can compile a kernel, but kernel loading, launching, and related data 
transfers will all need to be done via driver API. It should be possible to 
implement a functional replacement, but I'm not aware of any existing 
open-source implementations. I'm also not sure if clang will be able to deal 
with CUDA headers correctly on FreeBSD as CUDA headers do sometimes seem to 
rely on implementation specifics of Linux headers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69990



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to