Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GPU/GPUTracking/TPCClusterFinder/GPUTPCCFDeconvolution.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GPUdii() void GPUTPCCFDeconvolution::deconvolutionImpl(int32_t nBlocks, int32_t

PackedCharge charge = chargeMap[pos];

if(overwriteCharge) {
if (overwriteCharge) {
PackedCharge p(charge.unpack() / peakCount, has3x3, split);
chargeMap[pos] = p;
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::fil

if (clustererNN.mNnClusterizerAddIndexData && (int32_t)transient_index == (clustererNN.mNnClusterizerElementSize - 1)) {
uint32_t top_idx = (base_idx + 1) * clustererNN.mNnClusterizerElementSize;
if (!clustererNN.mNnClusterizerSetDeconvolutionFlags){ // Only if deconvolution flags are not set
for (uint16_t i = 0; i < 8; i++) { // This solution needs testing. It is not the same as the deconvolution flags
if (!clustererNN.mNnClusterizerSetDeconvolutionFlags) { // Only if deconvolution flags are not set
for (uint16_t i = 0; i < 8; i++) { // This solution needs testing. It is not the same as the deconvolution flags
Delta2 d = cfconsts::InnerNeighbors[i];
CfChargePos tmp_pos = peak.delta(d);
clustererNN.mClusterFlags[2 * base_idx] += CfUtils::isPeak(isPeakMap[tmp_pos]);
Expand Down Expand Up @@ -470,14 +470,14 @@ GPUdii() void GPUTPCNNClusterizerKernels::Thread<GPUTPCNNClusterizerKernels::pub
CfArray2D<PackedCharge> chargeMap(reinterpret_cast<PackedCharge*>(clusterer.mPchargeMap));
CfChargePos peak = clusterer.mPfilteredPeakPositions[idx + batchStart];

for(int i = 0; i < 8; i++) {
for (int i = 0; i < 8; i++) {
Delta2 d = cfconsts::InnerNeighbors[i];
CfChargePos tmp_pos = peak.delta(d);
PackedCharge charge = chargeMap[tmp_pos];
clustererNN.mClusterFlags[2 * idx] += (d.y != 0 && charge.isSplit());
clustererNN.mClusterFlags[2 * idx + 1] += (d.x != 0 && charge.isSplit());
}
for(int i = 0; i < 16; i++) {
for (int i = 0; i < 16; i++) {
Delta2 d = cfconsts::OuterNeighbors[i];
CfChargePos tmp_pos = peak.delta(d);
PackedCharge charge = chargeMap[tmp_pos];
Expand Down