junrushao1994 commented on a change in pull request #10365:
URL: https://github.com/apache/tvm/pull/10365#discussion_r813513569



##########
File path: src/runtime/cpu_device_api.cc
##########
@@ -100,6 +100,21 @@ void CPUDeviceAPI::FreeWorkspace(Device dev, void* data) {
   dmlc::ThreadLocalStore<CPUWorkspacePool>::Get()->FreeWorkspace(dev, data);
 }
 
+TVM_REGISTER_GLOBAL("device_api.cpu.mem_copy").set_body([](TVMArgs args, 
TVMRetValue* rv) {

Review comment:
       Yeah note that we do have similar functionality in the TVM C API 
(`TVMArrayCopyFromTo`), so probably it might be less relevant for our specific 
usecase?




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