We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc52b5d commit e966e71Copy full SHA for e966e71
1 file changed
GPU/GPUTracking/SectorTracker/GPUTPCNeighboursFinder.cxx
@@ -76,6 +76,7 @@ GPUdii() void GPUTPCNeighboursFinder::Thread<0>(int32_t /*nBlocks*/, int32_t nTh
76
}
77
78
static constexpr uint32_t UNROLL_GLOBAL = 4;
79
+ static_assert(GPUCA_MAXN % UNROLL_GLOBAL == 0);
80
static constexpr uint32_t MAX_SHARED = GPUCA_PAR_NEIGHBOURS_FINDER_MAX_NNEIGHUP;
81
static constexpr uint32_t MAX_GLOBAL = (MAX_SHARED < GPUCA_MAXN) ? (((GPUCA_MAXN - MAX_SHARED - 1) / UNROLL_GLOBAL + 1) * UNROLL_GLOBAL) : 0;
82
static constexpr uint32_t MAX_TOTAL = MAX_SHARED + MAX_GLOBAL;
0 commit comments