Skip to content

Commit f6a3d5a

Browse files
committed
Changing to uint8_t
1 parent e70e4d9 commit f6a3d5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

GPU/GPUTracking/TPCClusterFinder/GPUTPCCFDeconvolution.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using namespace o2::gpu;
2222
using namespace o2::gpu::tpccf;
2323

2424
template <>
25-
GPUdii() void GPUTPCCFDeconvolution::Thread<0>(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUSharedMemory& smem, processorType& clusterer, bool overwriteCharge)
25+
GPUdii() void GPUTPCCFDeconvolution::Thread<0>(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUSharedMemory& smem, processorType& clusterer, uint8_t overwriteCharge)
2626
{
2727
CfArray2D<PackedCharge> chargeMap(reinterpret_cast<PackedCharge*>(clusterer.mPchargeMap));
2828
CfArray2D<uint8_t> isPeakMap(clusterer.mPpeakMap);
@@ -34,7 +34,7 @@ GPUdii() void GPUTPCCFDeconvolution::deconvolutionImpl(int32_t nBlocks, int32_t
3434
CfArray2D<PackedCharge>& chargeMap,
3535
const CfChargePos* positions,
3636
const uint32_t digitnum,
37-
bool overwriteCharge)
37+
uint8_t overwriteCharge)
3838
{
3939
SizeT idx = get_global_id(0);
4040

GPU/GPUTracking/TPCClusterFinder/GPUTPCCFDeconvolution.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class GPUTPCCFDeconvolution : public GPUKernelTemplate
5151
GPUd() static void Thread(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUSharedMemory& smem, processorType& clusterer, Args... args);
5252

5353
private:
54-
static GPUd() void deconvolutionImpl(int32_t, int32_t, int32_t, int32_t, GPUSharedMemory&, const CfArray2D<uint8_t>&, CfArray2D<PackedCharge>&, const CfChargePos*, const uint32_t, bool);
54+
static GPUd() void deconvolutionImpl(int32_t, int32_t, int32_t, int32_t, GPUSharedMemory&, const CfArray2D<uint8_t>&, CfArray2D<PackedCharge>&, const CfChargePos*, const uint32_t, uint8_t);
5555

5656
static GPUdi() uint8_t countPeaksInner(uint16_t, const uint8_t*, uint8_t*);
5757
static GPUdi() uint8_t countPeaksOuter(uint16_t, uint8_t, const uint8_t*);

GPU/GPUTracking/kernels.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ o2_gpu_add_kernel("GPUTPCCFChargeMapFiller, findFragmentStart" "= TPC
111111
o2_gpu_add_kernel("GPUTPCCFPeakFinder" "= TPCCLUSTERFINDER" LB)
112112
o2_gpu_add_kernel("GPUTPCCFNoiseSuppression, noiseSuppression" "= TPCCLUSTERFINDER" LB)
113113
o2_gpu_add_kernel("GPUTPCCFNoiseSuppression, updatePeaks" "= TPCCLUSTERFINDER" LB)
114-
o2_gpu_add_kernel("GPUTPCCFDeconvolution" "= TPCCLUSTERFINDER" LB bool overwriteCharge)
114+
o2_gpu_add_kernel("GPUTPCCFDeconvolution" "= TPCCLUSTERFINDER" LB uint8_t overwriteCharge)
115115
o2_gpu_add_kernel("GPUTPCCFClusterizer" "= TPCCLUSTERFINDER" LB int8_t onlyMC)
116116
o2_gpu_add_kernel("GPUTPCCFMCLabelFlattener, setRowOffsets" "= TPCCLUSTERFINDER")
117117
o2_gpu_add_kernel("GPUTPCCFMCLabelFlattener, flatten" "= TPCCLUSTERFINDER" NO GPUTPCLinearLabels* out)

0 commit comments

Comments
 (0)