29 const int32_t nRows = iBlock == (nBlocks - 1) ? (tmpNRows - (tmpNRows / nBlocks) * (nBlocks - 1)) : (tmpNRows / nBlocks);
30 const int32_t nStartRow = (tmpNRows / nBlocks) * iBlock + 1;
31 int32_t startOffset2 = 0;
35 startOffset2 += tracker.mRowStartHitCountOffset[
ir];
38 s.mStartOffset = startOffset2;
40 s.mStartRow = nStartRow;
44 int32_t startOffset = s.mStartOffset;
46 for (int32_t
ir = -1; ++
ir < s.mNRows;) {
48 for (int32_t
ir = 0;
ir < s.mNRows;
ir++) {
53 const int32_t tmpLen = tracker.mRowStartHitCountOffset[
ir + s.mStartRow];
54 for (int32_t
j = iThread;
j < tmpLen;
j += nThreads) {
55 startHits[startOffset +
j] = tmpStartHits[
j];
57 startOffset += tmpLen;