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-01-29 17:44:45 +00:00
2019-12-02 11:29:36 -05:00
2021-04-27 10:47:05 +00:00
2018-07-24 06:49:27 +00:00
2021-07-20 09:18:24 -07:00
2018-11-05 20:57:46 +00:00
2021-05-30 22:39:07 +08:00
2021-08-17 11:51:35 +08:00
2021-04-27 13:19:17 -07:00
2021-04-01 09:47:56 +01:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2020-10-09 12:41:41 -04:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2019-05-21 17:48:04 +00:00
2020-07-20 09:34:39 -07:00
2021-05-11 15:45:38 -07:00
2021-04-27 13:19:17 -07:00
2021-04-28 14:27:16 -07:00
2021-04-28 14:27:16 -07:00
2021-04-28 14:27:16 -07:00
2021-04-01 09:47:56 +01:00
2020-07-17 15:42:12 +03:00
2017-12-19 16:34:13 +00:00
2019-11-13 13:14:57 -08:00
2018-07-31 14:21:46 +00:00
2019-11-13 13:14:57 -08:00
2019-04-04 14:36:07 +00:00
2020-12-13 20:26:05 +09:00
2018-01-01 13:27:01 +00:00
2018-01-01 13:27:01 +00:00
2018-11-13 21:38:45 +00:00
2018-01-31 08:26:51 +00:00
2021-08-23 13:24:48 -07:00
2021-08-23 13:24:48 -07:00
2020-10-23 10:03:30 -07:00
2020-10-23 10:03:30 -07:00
2021-08-23 13:24:48 -07:00
2018-01-31 08:26:51 +00:00
2018-01-31 08:26:51 +00:00
2021-08-23 13:24:48 -07:00
2021-04-04 10:15:12 -07:00
2021-03-22 12:08:46 -07:00
2021-10-06 10:49:25 -07:00
2020-02-14 13:46:26 +00:00
2018-02-27 02:51:30 +00:00
2018-04-07 19:59:58 +00:00
2020-04-07 13:45:52 -05:00
2021-02-12 00:42:41 -05:00
2020-10-04 21:41:43 -04:00
2021-07-21 11:32:25 -07:00
2021-09-09 17:16:41 +01:00
2021-03-02 12:52:54 -05:00
2021-07-21 11:32:25 -07:00
2021-07-22 10:20:19 -07:00
2021-08-12 13:27:09 +03:00
2021-05-28 11:44:20 +03:00
2018-04-24 08:49:57 +00:00
2021-04-01 09:47:56 +01:00
2021-04-01 09:47:56 +01:00
2021-03-22 12:08:46 -07:00
2019-11-21 19:58:21 -08:00
2018-01-18 06:13:25 +00:00
2018-07-30 19:44:13 +00:00
2018-07-30 19:44:13 +00:00
2021-10-07 04:45:19 +00:00
2019-11-23 16:00:53 +01:00
2019-08-01 14:23:56 +00:00
2021-05-04 10:24:00 -04:00
2021-05-26 10:50:26 -07:00
2021-10-06 10:49:25 -07:00
2021-02-18 23:30:25 -05:00
2021-02-18 23:30:25 -05:00
2021-06-04 09:12:41 -04:00
2019-08-05 14:06:16 +00:00
2019-08-05 14:06:16 +00:00
2021-07-21 11:32:25 -07:00
2020-07-18 20:26:01 -07:00
2018-01-01 13:27:01 +00:00
2018-01-01 13:27:01 +00:00
2018-01-01 13:27:01 +00:00
2018-01-01 13:27:01 +00:00
2018-05-04 06:05:58 +00:00
2018-01-01 13:27:01 +00:00
2018-01-01 13:27:01 +00:00
2021-08-16 13:09:01 -07:00
2020-11-23 13:32:29 -05:00
2018-04-26 06:28:47 +00:00
2018-09-28 16:17:59 +00:00