Skip to content

Commit f792109

Browse files
committed
Use default SmallVector size
1 parent a9ec7b0 commit f792109

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

13381338
Error GenericDeviceTy::synchronize(__tgt_async_info *AsyncInfo,
13391339
bool ReleaseQueue) {
1340-
SmallVector<void *, 2> AllocsToDelete{};
1340+
SmallVector<void *> AllocsToDelete{};
13411341
{
13421342
std::lock_guard<std::mutex> AllocationGuard{AsyncInfo->Mutex};
13431343

0 commit comments

Comments
 (0)