Skip to content

Commit 59fe478

Browse files
committed
Fix typo
1 parent 31f4792 commit 59fe478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/common/src/PluginInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ void *GenericDeviceTy::getFree_ArgBuf(size_t sz) {
18911891
}
18921892
}
18931893
if (!found_ptr) {
1894-
auto AllocOrErr = this->allocate(sz, nullptr, TARGET_ALLOC_SHARED);
1894+
auto AllocOrErr = this->allocate(sz, &found_ptr, TARGET_ALLOC_SHARED);
18951895
if (!AllocOrErr) {
18961896
REPORT("Could not get SHARED mem for Arg Buffer: %s\n",
18971897
toString(AllocOrErr.takeError()).data());

0 commit comments

Comments
 (0)