[PATCH] D108291: [clang-nvlink-wrapper] Wrapper around nvlink for archive files

Ye Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 23 14:11:40 PDT 2021


ye-luo added inline comments.


================
Comment at: clang/tools/clang-nvlink-wrapper/ClangNvlinkWrapper.cpp:19
+/// Such an archive is then passed to this tool to extract cubin files before
+/// passing to nvlink.
+///
----------------
Right now clang-offload-bundler is only used to create an object file for the host and a cubin file for the device.
Then cubin files are passed to the nvlink.
This is different from what you described
```
clang-offload-bundler creates a device specific archive of cubin files.
Such an archive is then passed to this tool to extract cubin files before passing to nvlink.
```
Is this caused by changes in https://reviews.llvm.org/D105191?
Do you have any reading materials which documents the whole linking flow of D105191?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108291



More information about the cfe-commits mailing list