Improve error message in ColocateResourceAndRefEdges.
PiperOrigin-RevId: 237395227
This commit is contained in:
parent
a86f6286b4
commit
f6533187f2
@ -212,7 +212,9 @@ Status Member::EnsureCompatibilityAcrossResourceEdge(
|
|||||||
"Cannot place the graph because a reference or resource edge "
|
"Cannot place the graph because a reference or resource edge "
|
||||||
"connects colocation groups with incompatible assigned devices: ",
|
"connects colocation groups with incompatible assigned devices: ",
|
||||||
DeviceNameUtils::ParsedNameToString(src_root.assigned_device_name_),
|
DeviceNameUtils::ParsedNameToString(src_root.assigned_device_name_),
|
||||||
" vs ", DeviceNameUtils::ParsedNameToString(assigned_device_name_));
|
" vs ", DeviceNameUtils::ParsedNameToString(assigned_device_name_),
|
||||||
|
". The edge src node is ", src.name(), " , and the dst node is ",
|
||||||
|
dst.name());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DeviceNameUtils::AreCompatibleDevNames(src_root.requested_device_name_,
|
if (DeviceNameUtils::AreCompatibleDevNames(src_root.requested_device_name_,
|
||||||
|
Loading…
Reference in New Issue
Block a user