junrushao commented on code in PR #15674:
URL: https://github.com/apache/tvm/pull/15674#discussion_r1316514183


##########
include/tvm/runtime/disco/session.h:
##########
@@ -195,6 +195,18 @@ class SessionObj : public Object {
    * \param host_array The array to be copied to worker-0
    * \param remote_array The NDArray on worker-0
    */
+
+  DRef CopyToWorker0Wrapper(const NDArray& host_array) { 

Review Comment:
   `Empty` is exposed on python: 
https://github.com/apache/tvm/blob/unity/python/tvm/runtime/disco/session.py#L117-L142.
   
   Shall we migrate some of the python pieces to C++?



-- 
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]

Reply via email to