srkreddy1238 commented on code in PR #15833:
URL: https://github.com/apache/tvm/pull/15833#discussion_r1340435814
##########
include/tvm/runtime/memory/memory_manager.h:
##########
@@ -37,15 +37,15 @@
namespace tvm {
namespace runtime {
-namespace vm {
+namespace memory {
struct Buffer {
/*! \brief The pointer to the allocated block of memory. */
void* data{nullptr};
/*! \brief The size of the block. */
size_t size{0};
/*! \brief The shape of the tensor. */
- std::vector<int64_t> shape;
+ ShapeTuple shape;
Review Comment:
Agreed. Even the two stage memory allocation for OpenCL texture doesn't need
it.
--
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]