diff --git a/ge/graph/manager/host_mem_manager.cc b/ge/graph/manager/host_mem_manager.cc index b56048b6..9b57e413 100644 --- a/ge/graph/manager/host_mem_manager.cc +++ b/ge/graph/manager/host_mem_manager.cc @@ -45,11 +45,12 @@ Status SharedMemAllocator::Allocate(SharedMemInfo &mem_info) { return GE_GRAPH_MEMORY_ALLOC_FAILED; } mem_info.fd = output_para.fd; - mem_info.host_aligned_ptr = AlignedPtr::BuildFromAllocFunc( - [&output_para](std::unique_ptr &ptr) { - ptr.reset(reinterpret_cast(output_para.ptr)); - }, - [](uint8_t *ptr) { ptr = nullptr; }); + mem_info.host_aligned_ptr = AlignedPtr::BuildFromAllocFunc([&output_para](std::unique_ptr &ptr) { + ptr.reset(reinterpret_cast(output_para.ptr)); + }, + [](uint8_t *ptr) { + ptr = nullptr; + }); mem_info.device_address = reinterpret_cast(output_para.devPtr); return SUCCESS; } diff --git a/metadef b/metadef index 1c41e02f..22ab76ec 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit 1c41e02f73b6e8f95369e052ee4de285145fb34f +Subproject commit 22ab76ecd8461f679606374be4b3b6b6f7cad321 diff --git a/parser b/parser index dda9def8..f12a4159 160000 --- a/parser +++ b/parser @@ -1 +1 @@ -Subproject commit dda9def8bdb5177054a3abc132bf376172c3f01f +Subproject commit f12a4159641de89e38460205be89da8ef74eba8a