We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0520eb1 commit 5cabcc0Copy full SHA for 5cabcc0
src/plugins/intel_cpu/src/infer_request.cpp
@@ -278,7 +278,9 @@ void InferRequestBase::changeDefaultPtr() {
278
auto itr = outMemMngrMap.find(it.first);
279
if (itr != outMemMngrMap.end()) {
280
outputMemMngr = std::dynamic_pointer_cast<OutputMemoryMngr>(itr->second);
281
- IE_ASSERT(outputMemMngr);
+ OPENVINO_ASSERT(outputMemMngr, "output memmanager should not be empty.");
282
+ } else {
283
+ OPENVINO_THROW("Cannot find output memmanager for output " + it.first + " !");
284
}
285
286
if (canBeInPlace) {
0 commit comments