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 31f4792 commit 59fe478Copy full SHA for 59fe478
offload/plugins-nextgen/common/src/PluginInterface.cpp
@@ -1891,7 +1891,7 @@ void *GenericDeviceTy::getFree_ArgBuf(size_t sz) {
1891
}
1892
1893
if (!found_ptr) {
1894
- auto AllocOrErr = this->allocate(sz, nullptr, TARGET_ALLOC_SHARED);
+ auto AllocOrErr = this->allocate(sz, &found_ptr, TARGET_ALLOC_SHARED);
1895
if (!AllocOrErr) {
1896
REPORT("Could not get SHARED mem for Arg Buffer: %s\n",
1897
toString(AllocOrErr.takeError()).data());
0 commit comments