|
|
@@ -160,12 +160,12 @@ Status HcclMemcpyPass::P2pmemInputProcess(const ComputeGraphPtr &graph, const No |
|
|
|
return SUCCESS; |
|
|
|
} |
|
|
|
|
|
|
|
for (int index = 0; index < input_memory_types.size() && index < op_desc->GetInputsSize(); index++) { |
|
|
|
for (uint32_t index = 0; index < input_memory_types.size() && index < op_desc->GetInputsSize(); index++) { |
|
|
|
if (input_memory_types[index] != RT_MEMORY_P2P_DDR) { |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
auto hccl_in_anchor = GetInDataAnchor(index); |
|
|
|
auto hccl_in_anchor = node->GetInDataAnchor(index); |
|
|
|
if (hccl_in_anchor == nullptr) { |
|
|
|
continue; |
|
|
|
} |
|
|
|