Skip to content

Commit 8802dbc

Browse files
fweigdavidrohr
authored andcommitted
TPCClusterFinder: Fix memory issue introduced in #4238.
1 parent b3ab80e commit 8802dbc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GPU/GPUTracking/Global/GPUChainTracking.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,7 @@ int GPUChainTracking::RunTPCClusterizer(bool synchronizeOutput)
13011301
runKernel<GPUTPCCFMCLabelFlattener, GPUTPCCFMCLabelFlattener::setRowOffsets>(GetGrid(GPUCA_ROW_COUNT, lane, GPUReconstruction::krnlDeviceType::CPU), {iSlice}, {});
13021302
GPUTPCCFMCLabelFlattener::setGlobalOffsetsAndAllocate(clusterer, mcLinearLabels);
13031303
runKernel<GPUTPCCFMCLabelFlattener, GPUTPCCFMCLabelFlattener::flatten>(GetGrid(GPUCA_ROW_COUNT, lane, GPUReconstruction::krnlDeviceType::CPU), {iSlice}, {}, &mcLinearLabels);
1304+
clusterer.clearMCMemory();
13041305
}
13051306
if (buildNativeHost && buildNativeGPU && anyLaneHasData) {
13061307
if (GetProcessingSettings().delayedOutput) {

0 commit comments

Comments
 (0)