Skip to content

Commit 10d9f78

Browse files
committed
GPU TPC: Tracklet memory during seeding when running on the host should be on the stack
1 parent b02aeda commit 10d9f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/SectorTracker/GPUTPCTracker.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void GPUTPCTracker::RegisterMemoryAllocation()
102102
uint32_t type = GPUMemoryResource::MEMORY_SCRATCH;
103103
if (mRec->GetProcessingSettings().memoryAllocationStrategy == GPUMemoryResource::ALLOCATION_INDIVIDUAL) { // For individual scheme, we allocate tracklets separately, and change the type for the following allocations to custom
104104
type |= GPUMemoryResource::MEMORY_CUSTOM;
105-
mMemoryResTracklets = mRec->RegisterMemoryAllocation(this, &GPUTPCTracker::SetPointersTracklets, type, "TPCTrackerTracklets");
105+
mMemoryResTracklets = mRec->RegisterMemoryAllocation(this, &GPUTPCTracker::SetPointersTracklets, type | GPUMemoryResource::MEMORY_STACK, "TPCTrackerTracklets");
106106
}
107107
mMemoryResOutput = mRec->RegisterMemoryAllocation(this, &GPUTPCTracker::SetPointersOutput, type, "TPCTrackerTracks");
108108
}

0 commit comments

Comments
 (0)