Skip to content

Commit 8ed26a8

Browse files
committed
Use default SmallVector size
1 parent 97913e6 commit 8ed26a8

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
@@ -1334,7 +1334,7 @@ Error PinnedAllocationMapTy::unlockUnmappedHostBuffer(void *HstPtr) {
13341334

13351335
Error GenericDeviceTy::synchronize(__tgt_async_info *AsyncInfo,
13361336
bool ReleaseQueue) {
1337-
SmallVector<void *, 2> AllocsToDelete{};
1337+
SmallVector<void *> AllocsToDelete{};
13381338
{
13391339
std::lock_guard<std::mutex> AllocationGuard{AsyncInfo->Mutex};
13401340

0 commit comments

Comments
 (0)