Skip to content

Commit 558dba6

Browse files
committed
GPU: Rename confusing globalTracking option to extrapolationTracking
1 parent 660b65e commit 558dba6

27 files changed

+145
-153
lines changed

GPU/GPUTracking/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ set(SRCS
4545
SliceTracker/GPUTPCGrid.cxx
4646
SliceTracker/GPUTPCTrackletSelector.cxx
4747
SliceTracker/GPUTPCRow.cxx
48-
SliceTracker/GPUTPCGlobalTracking.cxx
48+
SliceTracker/GPUTPCExtrapolationTracking.cxx
4949
SliceTracker/GPUTPCCreateSliceData.cxx
5050
Merger/GPUTPCGMMerger.cxx
5151
Merger/GPUTPCGMSliceTrack.cxx

GPU/GPUTracking/Definitions/GPUDefGPUParameters.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define GPUCA_LB_GPUTPCTrackletSelector 192, 3
4040
#define GPUCA_LB_GPUTPCNeighboursFinder 1024, 1
4141
#define GPUCA_LB_GPUTPCNeighboursCleaner 896
42-
#define GPUCA_LB_GPUTPCGlobalTracking 256
42+
#define GPUCA_LB_GPUTPCExtrapolationTracking 256
4343
#define GPUCA_LB_GPUTPCCFDecodeZS 64, 4
4444
#define GPUCA_LB_GPUTPCCFDecodeZSLink GPUCA_WARP_SIZE
4545
#define GPUCA_LB_GPUTPCCFDecodeZSDenseLink GPUCA_WARP_SIZE
@@ -60,7 +60,7 @@
6060
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step0 512
6161
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step2 512
6262
#define GPUCA_LB_GPUTPCGMMergerMergeCE 512
63-
#define GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks 256
63+
#define GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks 256
6464
#define GPUCA_LB_GPUTPCGMMergerCollect 512
6565
#define GPUCA_LB_GPUTPCGMMergerSortTracksPrepare 256
6666
#define GPUCA_LB_GPUTPCGMMergerPrepareClusters_step0 256
@@ -105,7 +105,7 @@
105105
#define GPUCA_LB_GPUTPCTrackletSelector 256, 8
106106
#define GPUCA_LB_GPUTPCNeighboursFinder 1024, 1
107107
#define GPUCA_LB_GPUTPCNeighboursCleaner 896
108-
#define GPUCA_LB_GPUTPCGlobalTracking 256
108+
#define GPUCA_LB_GPUTPCExtrapolationTracking 256
109109
#define GPUCA_LB_GPUTPCCFDecodeZS 64, 4
110110
#define GPUCA_LB_GPUTPCCFDecodeZSLink GPUCA_WARP_SIZE
111111
#define GPUCA_LB_GPUTPCCFDecodeZSDenseLink GPUCA_WARP_SIZE
@@ -126,7 +126,7 @@
126126
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step0 256
127127
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step2 256
128128
#define GPUCA_LB_GPUTPCGMMergerMergeCE 256
129-
#define GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks 256
129+
#define GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks 256
130130
#define GPUCA_LB_GPUTPCGMMergerCollect 512
131131
#define GPUCA_LB_GPUTPCGMMergerSortTracksPrepare 256
132132
#define GPUCA_LB_GPUTPCGMMergerPrepareClusters_step0 256
@@ -171,7 +171,7 @@
171171
#define GPUCA_LB_GPUTPCTrackletSelector 192, 3 // best single-kernel: 128, 4
172172
#define GPUCA_LB_GPUTPCNeighboursFinder 640, 1 // best single-kernel: 768, 1
173173
#define GPUCA_LB_GPUTPCNeighboursCleaner 512
174-
#define GPUCA_LB_GPUTPCGlobalTracking 128, 4
174+
#define GPUCA_LB_GPUTPCExtrapolationTracking 128, 4
175175
#define GPUCA_LB_GPUTPCCFDecodeZS 64, 10
176176
#define GPUCA_LB_GPUTPCCFDecodeZSLink GPUCA_WARP_SIZE
177177
#define GPUCA_LB_GPUTPCCFDecodeZSDenseLink GPUCA_WARP_SIZE
@@ -192,7 +192,7 @@
192192
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step0 192
193193
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step2 64, 2
194194
#define GPUCA_LB_GPUTPCGMMergerMergeCE 256
195-
#define GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks 256
195+
#define GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks 256
196196
#define GPUCA_LB_GPUTPCGMMergerCollect 256, 2
197197
#define GPUCA_LB_GPUTPCGMMergerSortTracksPrepare 256
198198
#define GPUCA_LB_GPUTPCGMMergerPrepareClusters_step0 256
@@ -237,7 +237,7 @@
237237
#define GPUCA_LB_GPUTPCTrackletSelector 192, 3
238238
#define GPUCA_LB_GPUTPCNeighboursFinder 640, 1
239239
#define GPUCA_LB_GPUTPCNeighboursCleaner 512
240-
#define GPUCA_LB_GPUTPCGlobalTracking 192, 2
240+
#define GPUCA_LB_GPUTPCExtrapolationTracking 192, 2
241241
#define GPUCA_LB_GPUTPCCFDecodeZS 64, 8
242242
#define GPUCA_LB_GPUTPCCFDecodeZSLink GPUCA_WARP_SIZE
243243
#define GPUCA_LB_GPUTPCCFDecodeZSDenseLink GPUCA_WARP_SIZE
@@ -258,7 +258,7 @@
258258
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step0 192
259259
#define GPUCA_LB_GPUTPCGMMergerMergeBorders_step2 256
260260
#define GPUCA_LB_GPUTPCGMMergerMergeCE 256
261-
#define GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks 256
261+
#define GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks 256
262262
#define GPUCA_LB_GPUTPCGMMergerCollect 128, 2
263263
#define GPUCA_LB_GPUTPCGMMergerSortTracksPrepare 256
264264
#define GPUCA_LB_GPUTPCGMMergerPrepareClusters_step0 256
@@ -312,8 +312,8 @@
312312
#ifndef GPUCA_LB_GPUTPCNeighboursCleaner
313313
#define GPUCA_LB_GPUTPCNeighboursCleaner 256
314314
#endif
315-
#ifndef GPUCA_LB_GPUTPCGlobalTracking
316-
#define GPUCA_LB_GPUTPCGlobalTracking 256
315+
#ifndef GPUCA_LB_GPUTPCExtrapolationTracking
316+
#define GPUCA_LB_GPUTPCExtrapolationTracking 256
317317
#endif
318318
#ifndef GPUCA_LB_GPUTRDTrackerKernels_gpuVersion
319319
#define GPUCA_LB_GPUTRDTrackerKernels_gpuVersion 512
@@ -414,8 +414,8 @@
414414
#ifndef GPUCA_LB_GPUTPCGMMergerMergeCE
415415
#define GPUCA_LB_GPUTPCGMMergerMergeCE 256
416416
#endif
417-
#ifndef GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks
418-
#define GPUCA_LB_GPUTPCGMMergerLinkGlobalTracks 256
417+
#ifndef GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks
418+
#define GPUCA_LB_GPUTPCGMMergerLinkExtrapolatedTracks 256
419419
#endif
420420
#ifndef GPUCA_LB_GPUTPCGMMergerCollect
421421
#define GPUCA_LB_GPUTPCGMMergerCollect 256

GPU/GPUTracking/Definitions/GPUSettingsList.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ AddOptionRTC(extraClusterErrorFactorSplitPadSharedSingleY2, float, 3.0f, "", 0,
9090
AddOptionRTC(extraClusterErrorSplitTimeSharedSingleZ2, float, 0.03f, "", 0, "Additive extra cluster error for Z2 if splittime, shared, or single set")
9191
AddOptionRTC(extraClusterErrorFactorSplitTimeSharedSingleZ2, float, 3.0f, "", 0, "Multiplicative extra cluster error for Z2 if splittime, shared, or single set")
9292
AddOptionArray(errorsCECrossing, float, 5, (0.f, 0.f, 0.f, 0.f, 0.f), "", 0, "Extra errors to add to track when crossing CE, depending on addErrorsCECrossing") // BUG: CUDA cannot yet handle AddOptionArrayRTC
93-
AddOptionRTC(globalTrackingYRangeUpper, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for global track candidates")
94-
AddOptionRTC(globalTrackingYRangeLower, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for global track candidates")
93+
AddOptionRTC(extrapolationTrackingYRangeUpper, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for extrapolated track candidates")
94+
AddOptionRTC(extrapolationTrackingYRangeLower, float, 0.85f, "", 0, "Inner portion of y-range in slice that is not used in searching for extrapolated track candidates")
9595
AddOptionRTC(trackFollowingYFactor, float, 4.f, "", 0, "Weight of y residual vs z residual in tracklet constructor")
9696
AddOptionRTC(trackMergerFactor2YS, float, 1.5f * 1.5f, "", 0, "factor2YS for track merging")
9797
AddOptionRTC(trackMergerFactor2ZT, float, 1.5f * 1.5f, "", 0, "factor2ZT for track merging")
@@ -116,9 +116,9 @@ AddOptionRTC(mergerLooperSecondHorizontalQPtB5Limit, uint8_t, 2, "", 0, "Min Q/P
116116
AddOptionRTC(trackFollowingMaxRowGap, uint8_t, 4, "", 0, "Maximum number of consecutive rows without hit in track following")
117117
AddOptionRTC(trackFollowingMaxRowGapSeed, uint8_t, 2, "", 0, "Maximum number of consecutive rows without hit in track following during fit of seed")
118118
AddOptionRTC(trackFitMaxRowMissedHard, uint8_t, 10, "", 0, "Hard limit for number of missed rows in fit / propagation")
119-
AddOptionRTC(globalTrackingRowRange, uint8_t, 45, "", 0, "Number of rows from the upped/lower limit to search for global track candidates in for")
120-
AddOptionRTC(globalTrackingMinRows, uint8_t, 10, "", 0, "Min num of rows an additional global track must span over")
121-
AddOptionRTC(globalTrackingMinHits, uint8_t, 8, "", 0, "Min num of hits for an additional global track")
119+
AddOptionRTC(extrapolationTrackingRowRange, uint8_t, 45, "", 0, "Number of rows from the upped/lower limit to search for extrapolated track candidates in for")
120+
AddOptionRTC(extrapolationTrackingMinRows, uint8_t, 10, "", 0, "Min num of rows an additional extrapolated track must span over")
121+
AddOptionRTC(extrapolationTrackingMinHits, uint8_t, 8, "", 0, "Min num of hits for an additional extrapolated track")
122122
AddOptionRTC(noisyPadsQuickCheck, uint8_t, 1, "", 0, "Only check first fragment for noisy pads instead of all fragments (when test is enabled).")
123123
AddOptionRTC(cfQMaxCutoff, uint8_t, 3, "", 0, "Cluster Finder rejects cluster with qmax below or equal to this threshold")
124124
AddOptionRTC(cfQTotCutoff, uint8_t, 5, "", 0, "Cluster Finder rejects cluster with qtot below or equal to this threshold")
@@ -134,7 +134,7 @@ AddOptionRTC(trackFitRejectMode, int8_t, 5, "", 0, "0: no limit on rejection or
134134
AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 0, "", 0, "Reject clusters that get the IFC mask error during refit")
135135
AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128")
136136
AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128")
137-
AddOptionRTC(globalTracking, int8_t, 1, "", 0, "Enable Global Tracking (prolong tracks to adjacent sectors to find short segments)")
137+
AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking (prolong tracks to adjacent sectors to find short segments)")
138138
AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit (1: attachment, 2: propagation, 4: loop following, 8: mirroring)")
139139
AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression (0 = no, 1 = strategy A, 2 = strategy B)")
140140
AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging")
@@ -315,7 +315,7 @@ AddOption(drawInitLinks, bool, false, "", 0, "Highlight cleaned-up links")
315315
AddOption(drawSeeds, bool, false, "", 0, "Highlight seeds")
316316
AddOption(drawTracklets, bool, false, "", 0, "Highlight tracklets")
317317
AddOption(drawTracks, bool, false, "", 0, "Highlight sector tracks")
318-
AddOption(drawGlobalTracks, bool, false, "", 0, "Highlight global sector tracks prolonged into adjacent sector")
318+
AddOption(drawExtrapolatedTracks, bool, false, "", 0, "Highlight global sector tracks prolonged into adjacent sector")
319319
AddOption(drawFinal, bool, false, "", 0, "Highlight final tracks")
320320
AddOption(excludeClusters, int32_t, 0, "", 0, "Exclude clusters from selected draw objects from display, (2 = exclude clusters but still show tracks)")
321321
AddOption(drawSlice, int32_t, -1, "", 0, "Show individual slice")
@@ -349,7 +349,7 @@ AddOption(drawTracksAndFilter, bool, false, "", 0, "Use AND filter instead of OR
349349
AddOption(propagateLoopers, bool, false, "", 0, "Enabale propagation of loopers")
350350
AddOption(clustersOnly, bool, false, "", 0, "Visualize clusters only")
351351
AddOption(clustersOnNominalRow, bool, false, "", 0, "Show clusters at nominal x of pad row for early-transformed data")
352-
AddOption(separateGlobalTracks, bool, false, "", 0, "Draw track segments propagated to adjacent sectors separately")
352+
AddOption(separateExtrapolatedTracks, bool, false, "", 0, "Draw track segments propagated to adjacent sectors separately")
353353
AddOption(splitCETracks, int8_t, -1, "", 0, "Split CE tracks when they cross the central electrode (-1 = for triggered data)")
354354
AddOption(markClusters, int32_t, 0, "", 0, "Mark clusters")
355355
AddOption(markFakeClusters, int32_t, 0, "", 0, "Mark fake clusters")

GPU/GPUTracking/Global/GPUChainTracking.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class GPUChainTracking : public GPUChain
233233

234234
int32_t ReadEvent(uint32_t iSlice, int32_t threadId);
235235
void WriteOutput(int32_t iSlice, int32_t threadId);
236-
int32_t GlobalTracking(uint32_t iSlice, int32_t threadId, bool synchronizeOutput = true);
236+
int32_t ExtrapolationTracking(uint32_t iSlice, int32_t threadId, bool synchronizeOutput = true);
237237

238238
int32_t PrepareProfile();
239239
int32_t DoProfile();

GPU/GPUTracking/Global/GPUChainTrackingMerger.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ int32_t GPUChainTracking::RunTPCTrackingMerger(bool synchronizeOutput)
161161

162162
runKernel<GPUMemClean16>({{1, -WarpSize(), 0, deviceType, RecoStep::TPCMerging}}, MergerShadowAll.TmpCounter(), 2 * NSLICES * sizeof(*MergerShadowAll.TmpCounter()));
163163

164-
runKernel<GPUTPCGMMergerLinkGlobalTracks>(GetGridAuto(0, deviceType));
164+
runKernel<GPUTPCGMMergerLinkExtrapolatedTracks>(GetGridAuto(0, deviceType));
165165
runKernel<GPUTPCGMMergerCollect>(GetGridAuto(0, deviceType));
166166
if (GetProcessingSettings().deterministicGPUReconstruction) {
167-
runKernel<GPUTPCGlobalDebugSortKernels, GPUTPCGlobalDebugSortKernels::globalTracks1>({{1, -WarpSize(), 0, deviceType}}, 1);
168-
runKernel<GPUTPCGlobalDebugSortKernels, GPUTPCGlobalDebugSortKernels::globalTracks2>({{1, -WarpSize(), 0, deviceType}}, 1);
167+
runKernel<GPUTPCGlobalDebugSortKernels, GPUTPCGlobalDebugSortKernels::extrapolatedTracks1>({{1, -WarpSize(), 0, deviceType}}, 1);
168+
runKernel<GPUTPCGlobalDebugSortKernels, GPUTPCGlobalDebugSortKernels::extrapolatedTracks2>({{1, -WarpSize(), 0, deviceType}}, 1);
169169
}
170170
DoDebugAndDump(RecoStep::TPCMerging, 2048, doGPU, Merger, &GPUTPCGMMerger::DumpCollected, *mDebugFile);
171171

GPU/GPUTracking/Global/GPUChainTrackingSliceTracker.cxx

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,13 @@
2424

2525
using namespace o2::gpu;
2626

27-
int32_t GPUChainTracking::GlobalTracking(uint32_t iSlice, int32_t threadId, bool synchronizeOutput)
27+
int32_t GPUChainTracking::ExtrapolationTracking(uint32_t iSlice, int32_t threadId, bool synchronizeOutput)
2828
{
29-
if (GetProcessingSettings().debugLevel >= 5) {
30-
GPUInfo("GPU Tracker running Global Tracking for slice %u on thread %d\n", iSlice, threadId);
31-
}
32-
33-
runKernel<GPUTPCGlobalTracking>({GetGridBlk(256, iSlice % mRec->NStreams()), {iSlice}});
29+
runKernel<GPUTPCExtrapolationTracking>({GetGridBlk(256, iSlice % mRec->NStreams()), {iSlice}});
3430
TransferMemoryResourceLinkToHost(RecoStep::TPCSliceTracking, processors()->tpcTrackers[iSlice].MemoryResCommon(), iSlice % mRec->NStreams());
3531
if (synchronizeOutput) {
3632
SynchronizeStream(iSlice % mRec->NStreams());
3733
}
38-
39-
if (GetProcessingSettings().debugLevel >= 5) {
40-
GPUInfo("GPU Tracker finished Global Tracking for slice %u on thread %d\n", iSlice, threadId);
41-
}
4234
return (0);
4335
}
4436

@@ -253,7 +245,7 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
253245

254246
if (!(doGPU || GetProcessingSettings().debugLevel >= 1) || GetProcessingSettings().trackletSelectorInPipeline) {
255247
runKernel<GPUTPCTrackletSelector>({GetGridAuto(useStream), {iSlice}});
256-
runKernel<GPUTPCGlobalTrackingCopyNumbers>({{1, -ThreadCount(), useStream}, {iSlice}}, 1);
248+
runKernel<GPUTPCExtrapolationTrackingCopyNumbers>({{1, -ThreadCount(), useStream}, {iSlice}}, 1);
257249
if (GetProcessingSettings().deterministicGPUReconstruction) {
258250
runKernel<GPUTPCSectorDebugSortKernels, GPUTPCSectorDebugSortKernels::sliceTracks>({GetGrid(1, 1, useStream), {iSlice}});
259251
}
@@ -310,7 +302,7 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
310302
GPUInfo("Running TPC Tracklet selector (Stream %d, Slice %d to %d)", useStream, iSlice, iSlice + runSlices);
311303
}
312304
runKernel<GPUTPCTrackletSelector>({GetGridAuto(useStream), {iSlice, runSlices}});
313-
runKernel<GPUTPCGlobalTrackingCopyNumbers>({{1, -ThreadCount(), useStream}, {iSlice}}, runSlices);
305+
runKernel<GPUTPCExtrapolationTrackingCopyNumbers>({{1, -ThreadCount(), useStream}, {iSlice}}, runSlices);
314306
for (uint32_t k = iSlice; k < iSlice + runSlices; k++) {
315307
if (GetProcessingSettings().deterministicGPUReconstruction) {
316308
runKernel<GPUTPCSectorDebugSortKernels, GPUTPCSectorDebugSortKernels::sliceTracks>({GetGrid(1, 1, useStream), {k}});
@@ -330,7 +322,7 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
330322
std::array<bool, NSLICES> transferRunning;
331323
transferRunning.fill(true);
332324
if ((GetRecoStepsOutputs() & GPUDataTypes::InOutType::TPCSectorTracks) || (doGPU && !(GetRecoStepsGPU() & RecoStep::TPCMerging))) {
333-
if (param().rec.tpc.globalTracking) {
325+
if (param().rec.tpc.extrapolationTracking) {
334326
mWriteOutputDone.fill(0);
335327
}
336328

@@ -379,14 +371,14 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
379371
}
380372
mSliceSelectorReady = iSlice;
381373

382-
if (param().rec.tpc.globalTracking) {
374+
if (param().rec.tpc.extrapolationTracking) {
383375
for (uint32_t tmpSlice2a = 0; tmpSlice2a <= iSlice; tmpSlice2a++) {
384-
uint32_t tmpSlice2 = GPUTPCGlobalTracking::GlobalTrackingSliceOrder(tmpSlice2a);
376+
uint32_t tmpSlice2 = GPUTPCExtrapolationTracking::ExtrapolationTrackingSliceOrder(tmpSlice2a);
385377
uint32_t sliceLeft, sliceRight;
386-
GPUTPCGlobalTracking::GlobalTrackingSliceLeftRight(tmpSlice2, sliceLeft, sliceRight);
378+
GPUTPCExtrapolationTracking::ExtrapolationTrackingSliceLeftRight(tmpSlice2, sliceLeft, sliceRight);
387379

388380
if (tmpSlice2 <= iSlice && sliceLeft <= iSlice && sliceRight <= iSlice && mWriteOutputDone[tmpSlice2] == 0) {
389-
GlobalTracking(tmpSlice2, 0);
381+
ExtrapolationTracking(tmpSlice2, 0);
390382
WriteOutput(tmpSlice2, 0);
391383
mWriteOutputDone[tmpSlice2] = 1;
392384
}
@@ -396,18 +388,18 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
396388
}
397389
}
398390
}
399-
if (!(GetRecoStepsOutputs() & GPUDataTypes::InOutType::TPCSectorTracks) && param().rec.tpc.globalTracking) {
391+
if (!(GetRecoStepsOutputs() & GPUDataTypes::InOutType::TPCSectorTracks) && param().rec.tpc.extrapolationTracking) {
400392
std::vector<bool> blocking(NSLICES * mRec->NStreams());
401393
for (int32_t i = 0; i < NSLICES; i++) {
402394
for (int32_t j = 0; j < mRec->NStreams(); j++) {
403395
blocking[i * mRec->NStreams() + j] = i % mRec->NStreams() == j;
404396
}
405397
}
406398
for (uint32_t iSlice = 0; iSlice < NSLICES; iSlice++) {
407-
uint32_t tmpSlice = GPUTPCGlobalTracking::GlobalTrackingSliceOrder(iSlice);
399+
uint32_t tmpSlice = GPUTPCExtrapolationTracking::ExtrapolationTrackingSliceOrder(iSlice);
408400
if (!((GetRecoStepsOutputs() & GPUDataTypes::InOutType::TPCSectorTracks) || (doGPU && !(GetRecoStepsGPU() & RecoStep::TPCMerging)))) {
409401
uint32_t sliceLeft, sliceRight;
410-
GPUTPCGlobalTracking::GlobalTrackingSliceLeftRight(tmpSlice, sliceLeft, sliceRight);
402+
GPUTPCExtrapolationTracking::ExtrapolationTrackingSliceLeftRight(tmpSlice, sliceLeft, sliceRight);
411403
if (doGPU && !blocking[tmpSlice * mRec->NStreams() + sliceLeft % mRec->NStreams()]) {
412404
StreamWaitForEvents(tmpSlice % mRec->NStreams(), &mEvents->slice[sliceLeft]);
413405
blocking[tmpSlice * mRec->NStreams() + sliceLeft % mRec->NStreams()] = true;
@@ -417,7 +409,7 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
417409
blocking[tmpSlice * mRec->NStreams() + sliceRight % mRec->NStreams()] = true;
418410
}
419411
}
420-
GlobalTracking(tmpSlice, 0, false);
412+
ExtrapolationTracking(tmpSlice, 0, false);
421413
}
422414
}
423415
for (uint32_t iSlice = 0; iSlice < NSLICES; iSlice++) {
@@ -429,8 +421,8 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
429421
mSliceSelectorReady = NSLICES;
430422
GPUCA_OPENMP(parallel for if(!doGPU && GetProcessingSettings().ompKernels != 1) num_threads(mRec->SetAndGetNestedLoopOmpFactor(!doGPU, NSLICES)))
431423
for (uint32_t iSlice = 0; iSlice < NSLICES; iSlice++) {
432-
if (param().rec.tpc.globalTracking) {
433-
GlobalTracking(iSlice, 0);
424+
if (param().rec.tpc.extrapolationTracking) {
425+
ExtrapolationTracking(iSlice, 0);
434426
}
435427
if (GetRecoStepsOutputs() & GPUDataTypes::InOutType::TPCSectorTracks) {
436428
WriteOutput(iSlice, 0);
@@ -439,9 +431,9 @@ int32_t GPUChainTracking::RunTPCTrackingSlices_internal()
439431
mRec->SetNestedLoopOmpFactor(1);
440432
}
441433

442-
if (param().rec.tpc.globalTracking && GetProcessingSettings().debugLevel >= 3) {
434+
if (param().rec.tpc.extrapolationTracking && GetProcessingSettings().debugLevel >= 3) {
443435
for (uint32_t iSlice = 0; iSlice < NSLICES; iSlice++) {
444-
GPUInfo("Slice %d - Tracks: Local %d Global %d - Hits: Local %d Global %d", iSlice,
436+
GPUInfo("Slice %d - Tracks: Local %d Extrapolated %d - Hits: Local %d Extrapolated %d", iSlice,
445437
processors()->tpcTrackers[iSlice].CommonMemory()->nLocalTracks, processors()->tpcTrackers[iSlice].CommonMemory()->nTracks, processors()->tpcTrackers[iSlice].CommonMemory()->nLocalTrackHits, processors()->tpcTrackers[iSlice].CommonMemory()->nTrackHits);
446438
}
447439
}

0 commit comments

Comments
 (0)