tra added a comment.

> we should expect it to be handled externally.

Can you give more details on how it will work? Something/somewhere would need 
to generate the glue code to register kernels w/ CUDA runtime.
Are you saying that we'll have some way to tell the final linking stage that 
all offloaded functions with unspecified offload kind must be treated as if 
they need runtime X, and the appropriate glue will be generated for them?

If you mean that it would need to be handled by the end user, it may be 
problematic as they would need to have access to the GPU binaries, the kernel 
names they contain and would need to further generate host-side kernel launch 
stubs matching the kernel names.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138862/new/

https://reviews.llvm.org/D138862

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to