Skip to content

Commit 5224966

Browse files
committed
GPU TPC: Free sector tracking memory earlier
1 parent 9ba7353 commit 5224966

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GPU/GPUTracking/Global/GPUChainTrackingSectorTracker.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ int32_t GPUChainTracking::RunTPCTrackingSectors_internal()
224224
GPUInfo("Sector %u, Number of tracks: %d", iSector, *trk.NTracks());
225225
}
226226
DoDebugAndDump(RecoStep::TPCSectorTracking, GPUChainTrackingDebugFlags::TPCSectorTracks, trk, &GPUTPCTracker::DumpTrackHits, *mDebugFile);
227+
if (GetProcessingSettings().memoryAllocationStrategy == GPUMemoryResource::ALLOCATION_INDIVIDUAL) {
228+
mRec->PopNonPersistentMemory(RecoStep::TPCSectorTracking, qStr2Tag("TPCSLTRK"), &trk);
229+
}
227230
});
228231
mRec->SetNActiveThreadsOuterLoop(1);
229232
if (error) {

0 commit comments

Comments
 (0)