[Mlir-commits] [mlir] [mlir][gpu] Add the `OffloadEmbeddingAttr` offloading translation attr (PR #78117)

Fabian Mora llvmlistbot at llvm.org
Wed Feb 21 05:06:59 PST 2024


================
@@ -0,0 +1,61 @@
+//===- Offload.h - LLVM Target Offload --------------------------*- C++ -*-===//
----------------
fabianmcg wrote:

> There are a few alternate solutions to this, but having the linker handle it is the best overall.

I agree, I think the best solution would be to make LLJIT work.

> The rework I was talking about was to simply change the offloading entry struct so it's more generic.

I see.

> How does LLJIT work exactly?

Honestly, I'm not 100% sure, I only know that the same IR would work if linked with a regular linker and fail with LLJIT.
I asked around on LLJIT discord a couple months ago why it was not picking out the symbols and they didn't give an answer.

I'll inquire further with them and comeback with a more definitive answer.



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


More information about the Mlir-commits mailing list