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/02/24 18:29:25 UTC
[GitHub] [tvm] areusch opened a new issue #10374: [Bug] AOTExecutorCodegen doesn't populate device_id of intermediate tensors
areusch opened a new issue #10374:
URL: https://github.com/apache/tvm/issues/10374
[LegalizePackedCalls](https://github.com/apache/tvm/blob/main/src/tir/transforms/legalize_packed_calls.cc) pass doesn't construct well-formed DLTensors for intermediate tensors. This was a known issue before and many of these fields aren't referenced by generated kernels, so it's not so much of a problem. However, `device_id` is used when allocating workspace buffers. It is [not populated](https://github.com/apache/tvm/blob/main/tests/python/unittest/test_aot_legalize_packed_call.py#L59), so if any kernel uses `TVMBackendAllocWorkspace`, the `device_id` passed through to that call will be invalid and dependent on the prior content of the stack.
I'm addressing this in #10283 .
--
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