Files
clang-p2996/clang/test/Driver
Saiyedul Islam 4c41170895 [Clang][OpenMP] Add partial support for Static Device Libraries
An archive containing device code object files can be passed to
clang command line for linking. For each given offload target
it creates a device specific archives which is either passed to llvm-link
if the target is amdgpu, or to clang-nvlink-wrapper if the target is
nvptx. -L/-l flags are used to specify these fat archives on the command
line. E.g.
  clang++ -fopenmp -fopenmp-targets=nvptx64 main.cpp -L. -lmylib

It currently doesn't support linking an archive directly, like:
  clang++ -fopenmp -fopenmp-targets=nvptx64 main.cpp libmylib.a

Linking with x86 offload also does not work.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D105191
2021-10-07 04:45:19 +00:00
..
2021-02-17 16:01:32 -08:00
2021-06-24 14:32:41 -04:00
2021-06-24 14:32:41 -04:00
2021-07-30 10:51:08 -07:00
2021-02-08 22:26:12 -05:00
2021-02-08 22:26:12 -05:00
2021-06-09 23:31:43 -04:00
2021-04-27 13:19:17 -07:00
2021-05-15 10:22:49 -07:00
2021-04-13 09:48:13 +08:00
2021-09-06 17:24:30 +08:00
2020-10-12 10:29:46 -07:00
2021-09-06 17:24:30 +08:00