Skip to content

Commit 83e7559

Browse files
committed
Please consider the following formatting changes
1 parent eecb8a8 commit 83e7559

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

GPU/GPUTracking/TPCClusterFinder/GPUTPCNNClusterizerKernels.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::run
5050
GPUTPCCFClusterizer::computeClustersImpl(get_num_groups(0), get_local_size(0), get_group_id(0), get_local_id(0), clusterer, clusterer.mPmemory->fragment, smem_new, chargeMap, clusterer.mPfilteredPeakPositions, clusterer.Param().rec, CPU_PTR(&labelAcc), clusterer.mPmemory->counters.nClusters, clusterer.mNMaxClusterPerRow, clusterer.mPclusterInRow, clusterOut, clusterer.mPclusterPosInRow);
5151
}
5252

53-
5453
template <>
5554
GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::fillInputNNCPU>(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUSharedMemory& smem, processorType& processors, uint8_t sector, int8_t dtype, int8_t withMC, uint32_t batchStart)
5655
{
@@ -163,8 +162,7 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::fil
163162
float index_values[3] = {
164163
sector / 36.f,
165164
row / 152.f,
166-
static_cast<float>(pad) / GPUTPCGeometry::NPads(row)
167-
};
165+
static_cast<float>(pad) / GPUTPCGeometry::NPads(row)};
168166

169167
if (dtype == 0) {
170168
clustererNN.mInputData_16[output_idx] = (OrtDataType::Float16_t)index_values[data_idx];
@@ -546,7 +544,7 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::pub
546544
// THe following arithmetic is done because the network is trained with a split between IROC and OROC boundary
547545
GPUd() int32_t GPUTPCNNClusterizerKernels::padOffset(int32_t row_ref, int32_t row_current)
548546
{
549-
if(row_current < 0 || row_current >= o2::tpc::constants::MAXGLOBALPADROW) {
547+
if (row_current < 0 || row_current >= o2::tpc::constants::MAXGLOBALPADROW) {
550548
return 0; // Short-circuit for negative rows
551549
} else {
552550
return (int)((GPUTPCGeometry::NPads(row_current) - GPUTPCGeometry::NPads(row_ref)) / 2);

0 commit comments

Comments
 (0)