wweic commented on a change in pull request #4346: [Runtime] Make ADTObject POD
container type
URL: https://github.com/apache/incubator-tvm/pull/4346#discussion_r349940924
##########
File path: include/tvm/runtime/memory.h
##########
@@ -124,11 +145,69 @@ class SimpleObjAllocator :
};
};
+// Array allocator that uses new/delete.
+class ArrayObjAllocator :
+ public ObjAllocatorBase<ArrayObjAllocator> {
+ public:
+ template<typename ArrayType, typename ElemType>
+ class Handler {
Review comment:
makes sense.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services