[Openmp-commits] [openmp] [Libomptarget] Move target table handling out of the plugins (PR #77150)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 9 11:05:48 PST 2024


================
@@ -57,8 +57,18 @@ int32_t __tgt_rtl_init_device(int32_t ID);
 // return NULL. Otherwise, return a pointer to the built address table.
 // Individual entries in the table may also be NULL, when the corresponding
 // offload region is not supported on the target device.
-__tgt_target_table *__tgt_rtl_load_binary(int32_t ID,
-                                          __tgt_device_image *Image);
+int32_t __tgt_rtl_load_binary(int32_t ID, __tgt_device_image *Image,
+                              __tgt_device_binary *Binary);
----------------
jdoerfert wrote:

This is ABI breaking.

https://github.com/llvm/llvm-project/pull/77150


More information about the Openmp-commits mailing list