electriclilies edited a comment on pull request #9848: URL: https://github.com/apache/tvm/pull/9848#issuecomment-1018132032
Sorry, mistyped a bit above-- because the virtual device field doesn't store the virtual device for all expression types right now, `func->body->virtual_device()` will most likely be null in this implementation and therefore not be equivalent to `func->virtual_device()`. What will be true is that `GetVirtualDevice(fn->body)` is always equivalent to `GetVirtualDevice(fn)`. (i.e., the 'conceptual' virtual device is the same even though it's not stored in the virtual device field of the body of the function). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
