You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/07/26 13:33:19 UTC

[GitHub] [tvm] kparzysz-quic opened a new pull request, #12187: [JIT] Force finalization of JITed code, expose sf/hf runtime functions

kparzysz-quic opened a new pull request, #12187:
URL: https://github.com/apache/tvm/pull/12187

   Code that handles fp16 and fp32 may end up calling builtins that do the conversions between these types. LLVM emits calls to `__truncsfhf2`, and `__extendhfsf2`, which are not present in TVM or TVM runtime. This creates two problems:
   - Problem 1: JITed code that does the conversions will fail because it calls non-existent functions.
   
   Adding these functions to libtvm.so/libtvm_runtime.so solves this part, but there is another issue:
   - Problem 2: JITed code may still not call these functions, because the generated object may not be fully resolved.
   
   To force full resolution, try to obtain an address of a non-existent symbol.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] masahi merged pull request #12187: [JIT] Force finalization of JITed code, expose sf/hf runtime functions

Posted by GitBox <gi...@apache.org>.
masahi merged PR #12187:
URL: https://github.com/apache/tvm/pull/12187


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org