saiislam added a comment.

> Ideally we could just put this on the linker itself, but nvlink doesn't seem 
> to support .a files.

Yes, nvlink does not support archives. So we used a wrapper to extract cubin 
files from the archive and pass them to nvlink. Please see, Clang Nvlink 
Wrapper <https://clang.llvm.org/docs/ClangNvlinkWrapper.html>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125092

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

Reply via email to