Skip to content

Commit 4ce701a

Browse files
authored
Update memory_manager.cpp
1 parent 111a93f commit 4ce701a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/source/detail/memory_manager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ void *MemoryManager::allocateMemSubBuffer(ContextImplPtr TargetContext,
232232
PI_INVALID_VALUE);
233233

234234
if (Error != PI_SUCCESS) {
235-
Plugin.reportPiError(Error, "allocateMemSubBuffer()");
235+
std::string CallingFunction = "allocateMemSubBuffer()";
236+
Plugin.reportPiError(Error, CallingFunction);
236237
}
237238

238239
return NewMem;

0 commit comments

Comments
 (0)