eric-haibin-lin 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_r373242986
########## File path: include/mxnet/ndarray.h ########## @@ -998,7 +1054,10 @@ class NDArray { << "CheckAndAlloc(dbytes) is only intended for kDefaultStorage"; dbytes = std::max(dbytes, static_cast<uint64_t>(shandle.size)); if (delay_alloc) { - shandle = Storage::Get()->Alloc(dbytes, shandle.ctx); + shandle = Storage::Get()->Alloc(dbytes, shandle.ctx, + shandle.profiler_scope, + shandle.name + "_realloc", Review comment: Why append `_realloc`? ---------------------------------------------------------------- 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