19#include "GPUDefParametersRuntime.h"
43 if (gatherMode >= 2) {
46 if (gatherMode != 1) {
56 if (gatherMode == 1) {
74 uint32_t nClAreduced = reducedClA ? nClA - nTr : nClA;
111 if (gatherMode == 3) {
115 if (gatherMode < 2) {
137 out <<
"\n\nCompressed Clusters:\n";
138 out << O.
nTracks <<
" Tracks\n";
139 out <<
"Slice Row Clusters:\n";
141 out <<
"Sector " <<
i <<
": ";
147 out <<
"\nTrack Clusters:\n";
149 if (
i &&
i % 100 == 0) {
154 out <<
"\n\nUnattached Clusters\n";
159 out <<
"Sector " <<
i <<
" Row " <<
j <<
": ";
161 if (k && k % 10 == 0) {
164 const uint32_t l = k +
offset;
172 out <<
"\n\nAttached Clusters\n";
175 out <<
"Track " <<
i <<
": {" << (uint32_t)O.
qPtA[
i] <<
", " << (uint32_t)O.
rowA[
i] <<
", " << (uint32_t)O.
sliceA[
i] <<
", " << (uint32_t)O.
timeA[
i] <<
", " << (uint32_t)O.
padA[
i] <<
"} - ";
177 if (k && k % 10 == 0) {
185 out << (uint32_t)O.
qTotA[l1] <<
", " << (uint32_t)O.
qMaxA[l1] <<
", " << (uint32_t)O.
flagsA[l1] <<
", " << (uint32_t)O.
sigmaPadA[l1] <<
", " << (uint32_t)O.
sigmaTimeA[l1] <<
"] ";
static void computePointerWithAlignment(T *&basePtr, S *&objPtr, size_t nEntries=1)
void AllocateAndInitializeLate()
static void computePointerWithoutAlignment(T *&basePtr, S *&objPtr, size_t nEntries=1)
RecoStepField GetRecoStepsGPU() const
int16_t RegisterMemoryAllocation(T *proc, void *(T::*setPtr)(void *), int32_t type, const char *name="", const GPUMemoryReuse &re=GPUMemoryReuse())
const GPUParam & GetParam() const
const GPUConstantMem & GetConstantMem() const
GPUMemorySizeScalers * MemoryScalers()
const GPUSettingsProcessing & GetProcessingSettings() const
virtual const GPUDefParameters & getGPUParameters(bool doGPU) const =0
uint32_t mMaxClustersInCache
int16_t mMemoryResOutputHost
int16_t mMemoryResOutputGPU
uint32_t * mAttachedClusterFirstIndex
void * SetPointersOutputHost(void *mem)
void SetPointersCompressedClusters(void *&mem, T &c, uint32_t nClA, uint32_t nTr, uint32_t nClU, bool reducedClA)
void DumpCompressedClusters(std::ostream &out)
o2::tpc::CompressedClusters * mOutput
void * SetPointersMemory(void *mem)
void * SetPointersOutputGPU(void *mem)
static constexpr uint32_t NSECTORS
uint32_t mMaxTrackClusters
o2::tpc::CompressedClusters * mOutputA
o2::tpc::CompressedClustersPtrs mPtrs
void * SetPointersOutput(void *mem)
o2::tpc::CompressedClustersFlat * mOutputFlat
void InitializeProcessor()
void SetMaxData(const GPUTrackingInOutPointers &io)
size_t mMaxClusterFactorBase1024
void * SetPointersScratch(void *mem)
void RegisterMemoryAllocation()
size_t NTPCUnattachedHitsBase1024(int32_t type)
const o2::tpc::ClusterNativeAccess * clustersNative
unsigned int nClustersTotal
unsigned int nUnattachedClusters
unsigned int nAttachedClusters