From 1608c4d0966ac48fe29384f115feac67a312b2f4 Mon Sep 17 00:00:00 2001 From: liangzelang Date: Fri, 14 Aug 2020 17:21:01 +0800 Subject: [PATCH] change-static-memory-size-log --- mindspore/ccsrc/runtime/device/ascend/ascend_memory_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/runtime/device/ascend/ascend_memory_manager.cc b/mindspore/ccsrc/runtime/device/ascend/ascend_memory_manager.cc index 7f3174242f..a4278f4b03 100644 --- a/mindspore/ccsrc/runtime/device/ascend/ascend_memory_manager.cc +++ b/mindspore/ccsrc/runtime/device/ascend/ascend_memory_manager.cc @@ -114,7 +114,7 @@ uint8_t *AscendMemoryManager::MallocDynamicMem(size_t size, bool communication_m auto device_mem_pool_offset = AscendMemoryPool::GetInstance().device_mem_pool_offset(); MS_LOG(INFO) << "Malloc Memory: Dynamic, total[" << device_mem_size_ << "] (dynamic[" << total_dynamic_size_ - << "] memory pool[" << device_mem_pool_offset << "])" + << "] memory pool[" << device_mem_size_ - device_mem_pool_offset << "])" << " malloc [" << align_size << "] communication_mem: " << communication_mem; auto offset = dynamic_mem_offset_; auto new_offset = dynamic_mem_offset_ + align_size;