@@ -167,14 +167,10 @@ GPUg() void __launch_bounds__(256, 1) computeLayerCellNeighboursKernel(
167167 CellNeighbour* cellNeighbours,
168168 const int sourceCellTopologyId,
169169 const int targetCellTopologyId,
170- const typename TrackingTopology<NLayers>::View topology,
171170 const float maxChi2ClusterAttachment,
172171 const float bz,
173- const unsigned int nCells,
174- const int maxCellNeighbours = 1e2 )
172+ const unsigned int nCells)
175173{
176- (void )topology;
177- (void )maxCellNeighbours;
178174 for (int iCurrentCellIndex = blockIdx .x * blockDim .x + threadIdx .x ; iCurrentCellIndex < nCells; iCurrentCellIndex += blockDim .x * gridDim .x ) {
179175 const auto & currentCellSeed{cellSeedArray[sourceCellTopologyId][iCurrentCellIndex]};
180176 const int nextLayerTrackletIndex{currentCellSeed.getSecondTrackletIndex ()};
@@ -470,7 +466,6 @@ template <bool dryRun, int NLayers, typename CurrentSeed>
470466GPUg () void __launch_bounds__ (256 , 1 ) processNeighboursKernel(
471467 const int defaultCellTopologyId,
472468 const int level,
473- const typename TrackingTopology<NLayers>::View topology,
474469 CellSeed** allCellSeeds,
475470 CurrentSeed* currentCellSeeds,
476471 const int * currentCellIds,
@@ -490,7 +485,6 @@ GPUg() void __launch_bounds__(256, 1) processNeighboursKernel(
490485 const o2::base::Propagator* propagator,
491486 const o2::base::PropagatorF::MatCorrType matCorrType)
492487{
493- (void )topology;
494488 for (unsigned int iCurrentCell = blockIdx .x * blockDim .x + threadIdx .x ; iCurrentCell < nCurrentCells; iCurrentCell += blockDim .x * gridDim .x ) {
495489 if constexpr (!dryRun) {
496490 if (foundSeedsTable[iCurrentCell] == foundSeedsTable[iCurrentCell + 1 ]) {
@@ -808,11 +802,9 @@ void countCellNeighboursHandler(CellSeed** cellsLayersDevice,
808802 int ** cellsLUTs,
809803 const int sourceCellTopologyId,
810804 const int targetCellTopologyId,
811- const typename TrackingTopology<NLayers>::View topology,
812805 const float maxChi2ClusterAttachment,
813806 const float bz,
814807 const unsigned int nCells,
815- const int maxCellNeighbours,
816808 gpu::Stream& stream)
817809{
818810 gpu::computeLayerCellNeighboursKernel<true , NLayers><<<60 , 256 , 0 , stream.get()>>> (
@@ -822,11 +814,9 @@ void countCellNeighboursHandler(CellSeed** cellsLayersDevice,
822814 nullptr ,
823815 sourceCellTopologyId,
824816 targetCellTopologyId,
825- topology,
826817 maxChi2ClusterAttachment,
827818 bz,
828- nCells,
829- maxCellNeighbours);
819+ nCells);
830820}
831821
832822void scanCellNeighboursHandler (int * neighboursCursor,
@@ -847,11 +837,9 @@ void computeCellNeighboursHandler(CellSeed** cellsLayersDevice,
847837 CellNeighbour* cellNeighbours,
848838 const int sourceCellTopologyId,
849839 const int targetCellTopologyId,
850- const typename TrackingTopology<NLayers>::View topology,
851840 const float maxChi2ClusterAttachment,
852841 const float bz,
853842 const unsigned int nCells,
854- const int maxCellNeighbours,
855843 gpu::Stream& stream)
856844{
857845 gpu::computeLayerCellNeighboursKernel<false , NLayers><<<60 , 256 , 0 , stream.get()>>> (
@@ -861,11 +849,9 @@ void computeCellNeighboursHandler(CellSeed** cellsLayersDevice,
861849 cellNeighbours,
862850 sourceCellTopologyId,
863851 targetCellTopologyId,
864- topology,
865852 maxChi2ClusterAttachment,
866853 bz,
867- nCells,
868- maxCellNeighbours);
854+ nCells);
869855}
870856
871857int filterCellNeighboursHandler (gpuPair<int , int >* cellNeighbourPairs,
@@ -885,10 +871,8 @@ int filterCellNeighboursHandler(gpuPair<int, int>* cellNeighbourPairs,
885871}
886872
887873template <int NLayers>
888- void processNeighboursHandler (const int startLayer,
889- const int startLevel,
874+ void processNeighboursHandler (const int startLevel,
890875 const int defaultCellTopologyId,
891- const typename TrackingTopology<NLayers>::View topology,
892876 CellSeed** allCellSeeds,
893877 CellSeed* currentCellSeeds,
894878 const int * currentCellTopologyIds,
@@ -909,7 +893,6 @@ void processNeighboursHandler(const int startLayer,
909893 const o2::base::PropagatorF::MatCorrType matCorrType,
910894 o2::its::ExternalAllocator* alloc)
911895{
912- (void )startLayer;
913896 constexpr uint64_t Tag = qStr2Tag (" ITS_PNH1" );
914897 alloc->pushTagOnStack (Tag);
915898 auto allocInt = gpu::TypedAllocator<int >(alloc);
@@ -921,7 +904,6 @@ void processNeighboursHandler(const int startLayer,
921904 gpu::processNeighboursKernel<true , NLayers, CellSeed><<<60 , 256 >>> (
922905 defaultCellTopologyId,
923906 startLevel,
924- topology,
925907 allCellSeeds,
926908 currentCellSeeds,
927909 nullptr ,
@@ -948,7 +930,6 @@ void processNeighboursHandler(const int startLayer,
948930 gpu::processNeighboursKernel<false , NLayers, CellSeed><<<60 , 256 >>> (
949931 defaultCellTopologyId,
950932 startLevel,
951- topology,
952933 allCellSeeds,
953934 currentCellSeeds,
954935 nullptr ,
@@ -988,7 +969,6 @@ void processNeighboursHandler(const int startLayer,
988969 gpu::processNeighboursKernel<true , NLayers, TrackSeed<NLayers>><<<60 , 256 >>> (
989970 constants::UnusedIndex,
990971 level,
991- topology,
992972 allCellSeeds,
993973 thrust::raw_pointer_cast (&lastCellSeed[0 ]),
994974 thrust::raw_pointer_cast (&lastCellId[0 ]),
@@ -1020,7 +1000,6 @@ void processNeighboursHandler(const int startLayer,
10201000 gpu::processNeighboursKernel<false , NLayers, TrackSeed<NLayers>><<<60 , 256 >>> (
10211001 constants::UnusedIndex,
10221002 level,
1023- topology,
10241003 allCellSeeds,
10251004 thrust::raw_pointer_cast (&lastCellSeed[0 ]),
10261005 thrust::raw_pointer_cast (&lastCellId[0 ]),
@@ -1253,11 +1232,9 @@ template void countCellNeighboursHandler<7>(CellSeed** cellsLayersDevice,
12531232 int ** cellsLUTs,
12541233 const int sourceCellTopologyId,
12551234 const int targetCellTopologyId,
1256- const TrackingTopology<7 >::View topology,
12571235 const float maxChi2ClusterAttachment,
12581236 const float bz,
12591237 const unsigned int nCells,
1260- const int maxCellNeighbours,
12611238 gpu::Stream& stream);
12621239
12631240template void computeCellNeighboursHandler<7 >(CellSeed** cellsLayersDevice,
@@ -1266,17 +1243,13 @@ template void computeCellNeighboursHandler<7>(CellSeed** cellsLayersDevice,
12661243 CellNeighbour* cellNeighbours,
12671244 const int sourceCellTopologyId,
12681245 const int targetCellTopologyId,
1269- const TrackingTopology<7 >::View topology,
12701246 const float maxChi2ClusterAttachment,
12711247 const float bz,
12721248 const unsigned int nCells,
1273- const int maxCellNeighbours,
12741249 gpu::Stream& stream);
12751250
1276- template void processNeighboursHandler<7 >(const int startLayer,
1277- const int startLevel,
1251+ template void processNeighboursHandler<7 >(const int startLevel,
12781252 const int defaultCellTopologyId,
1279- const TrackingTopology<7 >::View topology,
12801253 CellSeed** allCellSeeds,
12811254 CellSeed* currentCellSeeds,
12821255 const int * currentCellTopologyIds,
0 commit comments