szha commented on a change in pull request #17376: [MXNET-1404] Implement storage tagging, the first half of the memory profiler URL: https://github.com/apache/incubator-mxnet/pull/17376#discussion_r372126439
########## File path: src/ndarray/ndarray.cc ########## @@ -193,7 +203,9 @@ NDArray::NDArray(const std::shared_ptr<mkldnn::memory> &mkldnn_mem) auto mem_desc = mkldnn_mem->get_desc(); shape_ = mxnet::TShape(mem_desc.data.dims, mem_desc.data.dims + mem_desc.data.ndims); dtype_ = get_mxnet_type(mem_desc.data.data_type); - ptr_ = std::make_shared<Chunk>(shape_, Context::CPU(), true, dtype_); + ptr_ = std::make_shared<Chunk>(shape_, Context::CPU(), true, dtype_, + "X", "X", + Storage::DataStruct::kUnknown); Review comment: same here ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services