https://github.com/jhuber6 commented:

I'm kind of iffy here, I'm not sure if it's the runtime's job to be a linker. 
The `createProgram` interface already should handle 'JIT' compilation by 
detecting magics bits for LLVM-IR, ELF, PTX, or SPIR-V or whatever, but it's 
expected that the user provides a 'program' to run. What's the use-case for 
having the offloading runtime doing the compiler's job?

https://github.com/llvm/llvm-project/pull/148648
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to