![]() |
Project
|
#include <GPUTPCClusterFinder.h>
Inherits o2::gpu::GPUProcessor.
Classes | |
struct | Memory |
struct | MinMaxCN |
struct | ZSOffset |
Public Member Functions | |
~GPUTPCClusterFinder () | |
void | InitializeProcessor () |
void | RegisterMemoryAllocation () |
void | SetMaxData (const GPUTrackingInOutPointers &io) |
void * | SetPointersInput (void *mem) |
void * | SetPointersOutput (void *mem) |
void * | SetPointersScratch (void *mem) |
void * | SetPointersMemory (void *mem) |
void * | SetPointersZS (void *mem) |
void * | SetPointersZSOffset (void *mem) |
uint32_t | getNSteps (size_t items) const |
void | SetNMaxDigits (size_t nDigits, size_t nPages, size_t nDigitsFragment, size_t nDigitsEndpointMax) |
void | PrepareMC () |
void | clearMCMemory () |
GPUdi () int32_t *GetScanBuffer(int32_t iBuf) const | |
void | DumpDigits (std::ostream &out) |
void | DumpChargeMap (std::ostream &out, std::string_view) |
void | DumpPeakMap (std::ostream &out, std::string_view) |
void | DumpPeaks (std::ostream &out) |
void | DumpPeaksCompacted (std::ostream &out) |
void | DumpSuppressedPeaks (std::ostream &out) |
void | DumpSuppressedPeaksCompacted (std::ostream &out) |
void | DumpClusters (std::ostream &out) |
![]() | |
GPUProcessor () | |
~GPUProcessor () | |
GPUProcessor (const GPUProcessor &)=delete | |
GPUProcessor & | operator= (const GPUProcessor &)=delete |
GPUd () GPUconstantref() const GPUConstantMem *GetConstantMem() const | |
GPUd () GPUconstantref() const GPUParam &Param() const | |
GPUd () void raiseError(uint32_t code | |
const GPUReconstruction & | GetRec () const |
void | InitGPUProcessor (GPUReconstruction *rec, ProcessorType type=PROCESSOR_TYPE_CPU, GPUProcessor *slaveProcessor=nullptr) |
void | Clear () |
template<class T > | |
T & | HostProcessor (T *) |
Public Attributes | |
uint8_t * | mPzs = nullptr |
ZSOffset * | mPzsOffsets = nullptr |
MinMaxCN * | mMinMaxCN = nullptr |
uint8_t * | mPpadIsNoisy = nullptr |
tpc::Digit * | mPdigits = nullptr |
CfChargePos * | mPpositions = nullptr |
CfChargePos * | mPpeakPositions = nullptr |
CfChargePos * | mPfilteredPeakPositions = nullptr |
uint8_t * | mPisPeak = nullptr |
uint32_t * | mPclusterPosInRow = nullptr |
uint16_t * | mPchargeMap = nullptr |
uint8_t * | mPpeakMap = nullptr |
uint32_t * | mPindexMap = nullptr |
uint32_t * | mPclusterInRow = nullptr |
tpc::ClusterNative * | mPclusterByRow = nullptr |
GPUTPCClusterMCInterimArray * | mPlabelsByRow = nullptr |
int32_t * | mPscanBuf = nullptr |
Memory * | mPmemory = nullptr |
o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > const * | mPinputLabels = nullptr |
uint32_t * | mPlabelsInRow = nullptr |
uint32_t | mPlabelsHeaderGlobalOffset = 0 |
uint32_t | mPlabelsDataGlobalOffset = 0 |
int32_t | mISector = 0 |
uint32_t | mNMaxClusterPerRow = 0 |
uint32_t | mNMaxClusters = 0 |
uint32_t | mNMaxPages = 0 |
size_t | mNMaxDigits = 0 |
size_t | mNMaxDigitsFragment = 0 |
size_t | mNMaxDigitsEndpoint = 0 |
size_t | mNMaxPeaks = 0 |
size_t | mBufSize = 0 |
uint32_t | mNBufs = 0 |
int16_t | mMemoryId = -1 |
int16_t | mScratchId = -1 |
int16_t | mZSId = -1 |
int16_t | mZSOffsetId = -1 |
int16_t | mOutputId = -1 |
![]() | |
uint32_t | param1 = 0 |
uint32_t uint32_t | param2 = 0 |
uint32_t uint32_t uint32_t | param3 = 0) const |
Additional Inherited Members | |
![]() | |
enum | ProcessorType { PROCESSOR_TYPE_CPU = 0 , PROCESSOR_TYPE_DEVICE = 1 , PROCESSOR_TYPE_SLAVE = 2 } |
![]() | |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static constexpr size_t | getAlignmentMod (size_t addr) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static constexpr size_t | getAlignment (size_t addr) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static constexpr size_t | nextMultipleOf (size_t size) |
static constexpr size_t | nextMultipleOf (size_t size, size_t alignment) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static void * | alignPointer (void *ptr) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static size_t | getAlignmentMod (void *addr) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT> | |
static size_t | getAlignment (void *addr) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class S > | |
static S * | getPointerWithAlignment (size_t &basePtr, size_t nEntries=1) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class S > | |
static S * | getPointerWithAlignment (void *&basePtr, size_t nEntries=1) |
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class T , class S > | |
static void | computePointerWithAlignment (T *&basePtr, S *&objPtr, size_t nEntries=1) |
template<class T , class S > | |
static void | computePointerWithoutAlignment (T *&basePtr, S *&objPtr, size_t nEntries=1) |
![]() | |
void | AllocateAndInitializeLate () |
GPUconstantref () const GPUConstantMem *mConstantMem | |
![]() | |
GPUReconstruction * | mRec |
ProcessorType | mGPUProcessorType |
GPUProcessor * | mLinkedProcessor |
Definition at line 51 of file GPUTPCClusterFinder.h.
GPUTPCClusterFinder::~GPUTPCClusterFinder | ( | ) |
Definition at line 37 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::clearMCMemory | ( | ) |
Definition at line 173 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::DumpChargeMap | ( | std::ostream & | out, |
std::string_view | title | ||
) |
Definition at line 39 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpClusters | ( | std::ostream & | out | ) |
Definition at line 156 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpDigits | ( | std::ostream & | out | ) |
Definition at line 25 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpPeakMap | ( | std::ostream & | out, |
std::string_view | title | ||
) |
Definition at line 72 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpPeaks | ( | std::ostream & | out | ) |
Definition at line 108 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpPeaksCompacted | ( | std::ostream & | out | ) |
Definition at line 119 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpSuppressedPeaks | ( | std::ostream & | out | ) |
Definition at line 130 of file GPUTPCClusterFinderDump.cxx.
void GPUTPCClusterFinder::DumpSuppressedPeaksCompacted | ( | std::ostream & | out | ) |
Definition at line 144 of file GPUTPCClusterFinderDump.cxx.
uint32_t GPUTPCClusterFinder::getNSteps | ( | size_t | items | ) | const |
Definition at line 148 of file GPUTPCClusterFinder.cxx.
|
inline |
Definition at line 117 of file GPUTPCClusterFinder.h.
void GPUTPCClusterFinder::InitializeProcessor | ( | ) |
Definition at line 32 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::PrepareMC | ( | ) |
Definition at line 163 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::RegisterMemoryAllocation | ( | ) |
Definition at line 101 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::SetMaxData | ( | const GPUTrackingInOutPointers & | io | ) |
Definition at line 118 of file GPUTPCClusterFinder.cxx.
void GPUTPCClusterFinder::SetNMaxDigits | ( | size_t | nDigits, |
size_t | nPages, | ||
size_t | nDigitsFragment, | ||
size_t | nDigitsEndpointMax | ||
) |
Definition at line 140 of file GPUTPCClusterFinder.cxx.
Definition at line 49 of file GPUTPCClusterFinder.cxx.
Definition at line 43 of file GPUTPCClusterFinder.cxx.
Definition at line 74 of file GPUTPCClusterFinder.cxx.
Definition at line 80 of file GPUTPCClusterFinder.cxx.
Definition at line 66 of file GPUTPCClusterFinder.cxx.
Definition at line 57 of file GPUTPCClusterFinder.cxx.
size_t o2::gpu::GPUTPCClusterFinder::mBufSize = 0 |
Definition at line 132 of file GPUTPCClusterFinder.h.
int32_t o2::gpu::GPUTPCClusterFinder::mISector = 0 |
Definition at line 124 of file GPUTPCClusterFinder.h.
int16_t o2::gpu::GPUTPCClusterFinder::mMemoryId = -1 |
Definition at line 135 of file GPUTPCClusterFinder.h.
MinMaxCN* o2::gpu::GPUTPCClusterFinder::mMinMaxCN = nullptr |
Definition at line 98 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mNBufs = 0 |
Definition at line 133 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mNMaxClusterPerRow = 0 |
Definition at line 125 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mNMaxClusters = 0 |
Definition at line 126 of file GPUTPCClusterFinder.h.
size_t o2::gpu::GPUTPCClusterFinder::mNMaxDigits = 0 |
Definition at line 128 of file GPUTPCClusterFinder.h.
size_t o2::gpu::GPUTPCClusterFinder::mNMaxDigitsEndpoint = 0 |
Definition at line 130 of file GPUTPCClusterFinder.h.
size_t o2::gpu::GPUTPCClusterFinder::mNMaxDigitsFragment = 0 |
Definition at line 129 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mNMaxPages = 0 |
Definition at line 127 of file GPUTPCClusterFinder.h.
size_t o2::gpu::GPUTPCClusterFinder::mNMaxPeaks = 0 |
Definition at line 131 of file GPUTPCClusterFinder.h.
int16_t o2::gpu::GPUTPCClusterFinder::mOutputId = -1 |
Definition at line 139 of file GPUTPCClusterFinder.h.
uint16_t* o2::gpu::GPUTPCClusterFinder::mPchargeMap = nullptr |
Definition at line 108 of file GPUTPCClusterFinder.h.
tpc::ClusterNative* o2::gpu::GPUTPCClusterFinder::mPclusterByRow = nullptr |
Definition at line 112 of file GPUTPCClusterFinder.h.
uint32_t* o2::gpu::GPUTPCClusterFinder::mPclusterInRow = nullptr |
Definition at line 111 of file GPUTPCClusterFinder.h.
uint32_t* o2::gpu::GPUTPCClusterFinder::mPclusterPosInRow = nullptr |
Definition at line 105 of file GPUTPCClusterFinder.h.
tpc::Digit* o2::gpu::GPUTPCClusterFinder::mPdigits = nullptr |
Definition at line 100 of file GPUTPCClusterFinder.h.
CfChargePos* o2::gpu::GPUTPCClusterFinder::mPfilteredPeakPositions = nullptr |
Definition at line 103 of file GPUTPCClusterFinder.h.
uint32_t* o2::gpu::GPUTPCClusterFinder::mPindexMap = nullptr |
Definition at line 110 of file GPUTPCClusterFinder.h.
o2::dataformats::ConstMCTruthContainerView<o2::MCCompLabel> const* o2::gpu::GPUTPCClusterFinder::mPinputLabels = nullptr |
Definition at line 119 of file GPUTPCClusterFinder.h.
uint8_t* o2::gpu::GPUTPCClusterFinder::mPisPeak = nullptr |
Definition at line 104 of file GPUTPCClusterFinder.h.
GPUTPCClusterMCInterimArray* o2::gpu::GPUTPCClusterFinder::mPlabelsByRow = nullptr |
Definition at line 113 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mPlabelsDataGlobalOffset = 0 |
Definition at line 122 of file GPUTPCClusterFinder.h.
uint32_t o2::gpu::GPUTPCClusterFinder::mPlabelsHeaderGlobalOffset = 0 |
Definition at line 121 of file GPUTPCClusterFinder.h.
uint32_t* o2::gpu::GPUTPCClusterFinder::mPlabelsInRow = nullptr |
Definition at line 120 of file GPUTPCClusterFinder.h.
Memory* o2::gpu::GPUTPCClusterFinder::mPmemory = nullptr |
Definition at line 115 of file GPUTPCClusterFinder.h.
uint8_t* o2::gpu::GPUTPCClusterFinder::mPpadIsNoisy = nullptr |
Definition at line 99 of file GPUTPCClusterFinder.h.
uint8_t* o2::gpu::GPUTPCClusterFinder::mPpeakMap = nullptr |
Definition at line 109 of file GPUTPCClusterFinder.h.
CfChargePos* o2::gpu::GPUTPCClusterFinder::mPpeakPositions = nullptr |
Definition at line 102 of file GPUTPCClusterFinder.h.
CfChargePos* o2::gpu::GPUTPCClusterFinder::mPpositions = nullptr |
Definition at line 101 of file GPUTPCClusterFinder.h.
int32_t* o2::gpu::GPUTPCClusterFinder::mPscanBuf = nullptr |
Definition at line 114 of file GPUTPCClusterFinder.h.
uint8_t* o2::gpu::GPUTPCClusterFinder::mPzs = nullptr |
Definition at line 96 of file GPUTPCClusterFinder.h.
ZSOffset* o2::gpu::GPUTPCClusterFinder::mPzsOffsets = nullptr |
Definition at line 97 of file GPUTPCClusterFinder.h.
int16_t o2::gpu::GPUTPCClusterFinder::mScratchId = -1 |
Definition at line 136 of file GPUTPCClusterFinder.h.
int16_t o2::gpu::GPUTPCClusterFinder::mZSId = -1 |
Definition at line 137 of file GPUTPCClusterFinder.h.
int16_t o2::gpu::GPUTPCClusterFinder::mZSOffsetId = -1 |
Definition at line 138 of file GPUTPCClusterFinder.h.