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/09/30 20:04:19 UTC
[GitHub] [tvm] masahi commented on pull request #12949: [TIR] Use IndexMap to transform NDArray
masahi commented on PR #12949:
URL: https://github.com/apache/tvm/pull/12949#issuecomment-1263971836
> My one question is whether we want to use `DeviceAPI::CopyDataFromTo`
@Lunderberg I've just looked into this possibility, I wish I could use `DeviceAPI::CopyDataFromTo` but it's a protected method so I cannot use it from `IndexMap` https://github.com/apache/tvm/blob/8d60b3cbbcacc5675383c353a1180be0cbc59cb9/include/tvm/runtime/device_api.h#L230
Other variants of `CopyDataFromTo` all seem to take `DLTensor` as argument, so I cannot byte slices (element-by-element copy).
--
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