Project
Loading...
Searching...
No Matches
o2::gpu::GPUTPCCompression Class Reference

#include <GPUTPCCompression.h>

Inherits o2::gpu::GPUProcessor.

Classes

struct  memory
 

Public Member Functions

void InitializeProcessor ()
 
void RegisterMemoryAllocation ()
 
void SetMaxData (const GPUTrackingInOutPointers &io)
 
voidSetPointersOutputGPU (void *mem)
 
voidSetPointersOutputHost (void *mem)
 
voidSetPointersOutputPtrs (void *mem)
 
voidSetPointersOutput (void *mem)
 
voidSetPointersScratch (void *mem)
 
voidSetPointersMemory (void *mem)
 
 GPUd () static void truncateSignificantBitsCharge(uint16_t &charge
 
 GPUd () static void truncateSignificantBitsChargeMax(uint16_t &charge
 
 GPUd () static void truncateSignificantBitsWidth(uint8_t &width
 
- Public Member Functions inherited from o2::gpu::GPUProcessor
 GPUProcessor ()
 
 ~GPUProcessor ()
 
 GPUProcessor (const GPUProcessor &)=delete
 
GPUProcessoroperator= (const GPUProcessor &)=delete
 
 GPUd () GPUconstantref() const GPUConstantMem *GetConstantMem() const
 
 GPUd () GPUconstantref() const GPUParam &Param() const
 
 GPUd () void raiseError(uint32_t code
 
const GPUReconstructionGetRec () const
 
void InitGPUProcessor (GPUReconstruction *rec, ProcessorType type=PROCESSOR_TYPE_CPU, GPUProcessor *slaveProcessor=nullptr)
 
void Clear ()
 
template<class T >
T & HostProcessor (T *)
 

Public Attributes

const GPUParamparam { truncateSignificantBits(charge, param.rec.tpc.sigBitsCharge, P_MAX_QTOT)
 
- Public Attributes inherited from o2::gpu::GPUProcessor
uint32_t param1 = 0
 
uint32_t uint32_t param2 = 0
 
uint32_t uint32_t uint32_t param3 = 0) const
 

Static Public Attributes

static constexpr uint32_t P_MAX_QMAX = 1 << 10
 
static constexpr uint32_t P_MAX_QTOT = 5 * 5 * P_MAX_QMAX
 
static constexpr uint32_t P_MAX_TIME = 1 << 24
 
static constexpr uint32_t P_MAX_PAD = 1 << 16
 
static constexpr uint32_t P_MAX_SIGMA = 1 << 8
 
static constexpr uint32_t P_MAX_FLAGS = 1 << 8
 
static constexpr uint32_t P_MAX_QPT = 1 << 8
 

Protected Member Functions

template<class T >
void SetPointersCompressedClusters (void *&mem, T &c, uint32_t nClA, uint32_t nTr, uint32_t nClU, bool reducedClA)
 
template<class T >
 GPUd () static void truncateSignificantBits(T &val
 
- Protected Member Functions inherited from o2::gpu::GPUProcessor
void AllocateAndInitializeLate ()
 
 GPUconstantref () const GPUConstantMem *mConstantMem
 

Protected Attributes

o2::tpc::CompressedClustersPtrs mPtrs
 
o2::tpc::CompressedClustersmOutput = nullptr
 
o2::tpc::CompressedClustersmOutputA = nullptr
 
o2::tpc::CompressedClustersFlatmOutputFlat = nullptr
 
memorymMemory = nullptr
 
uint32_t * mAttachedClusterFirstIndex = nullptr
 
uint8_t * mClusterStatus = nullptr
 
uint32_t mMaxTracks = 0
 
uint32_t mMaxClusters = 0
 
uint32_t mMaxTrackClusters = 0
 
uint32_t mMaxClustersInCache = 0
 
size_t mMaxClusterFactorBase1024 = 0
 
uint32_t nBits
 
uint32_t uint32_t max
 
int16_t mMemoryResOutputHost = -1
 
int16_t mMemoryResOutputGPU = -1
 
- Protected Attributes inherited from o2::gpu::GPUProcessor
GPUReconstructionmRec
 
ProcessorType mGPUProcessorType
 
GPUProcessormLinkedProcessor
 

Static Protected Attributes

static constexpr uint32_t NSECTORS = GPUCA_NSECTORS
 

Friends

class GPUTPCCompressionKernels
 
class GPUTPCCompressionGatherKernels
 
class GPUChainTracking
 

Additional Inherited Members

- Public Types inherited from o2::gpu::GPUProcessor
enum  ProcessorType { PROCESSOR_TYPE_CPU = 0 , PROCESSOR_TYPE_DEVICE = 1 , PROCESSOR_TYPE_SLAVE = 2 }
 
- Static Public Member Functions inherited from o2::gpu::GPUProcessor
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT>
static size_t getAlignmentMod (size_t addr)
 
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT>
static size_t getAlignment (size_t addr)
 
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT>
static size_t nextMultipleOf (size_t size)
 
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT>
static voidalignPointer (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 SgetPointerWithAlignment (size_t &basePtr, size_t nEntries=1)
 
template<size_t alignment = GPUCA_BUFFER_ALIGNMENT, class S >
static SgetPointerWithAlignment (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)
 

Detailed Description

Definition at line 28 of file GPUTPCCompression.h.

Member Function Documentation

◆ GPUd() [1/4]

template<class T >
o2::gpu::GPUTPCCompression::GPUd ( ) &
protected

◆ GPUd() [2/4]

o2::gpu::GPUTPCCompression::GPUd ( ) &

◆ GPUd() [3/4]

o2::gpu::GPUTPCCompression::GPUd ( ) &

◆ GPUd() [4/4]

o2::gpu::GPUTPCCompression::GPUd ( ) &

◆ InitializeProcessor()

void GPUTPCCompression::InitializeProcessor ( )

Definition at line 22 of file GPUTPCCompression.cxx.

◆ RegisterMemoryAllocation()

void GPUTPCCompression::RegisterMemoryAllocation ( )

Definition at line 102 of file GPUTPCCompression.cxx.

◆ SetMaxData()

void GPUTPCCompression::SetMaxData ( const GPUTrackingInOutPointers io)

Definition at line 117 of file GPUTPCCompression.cxx.

◆ SetPointersCompressedClusters()

template<class T >
void GPUTPCCompression::SetPointersCompressedClusters ( void *&  mem,
T &  c,
uint32_t  nClA,
uint32_t  nTr,
uint32_t  nClU,
bool  reducedClA 
)
protected

Definition at line 59 of file GPUTPCCompression.cxx.

◆ SetPointersMemory()

void * GPUTPCCompression::SetPointersMemory ( void mem)

Definition at line 94 of file GPUTPCCompression.cxx.

◆ SetPointersOutput()

void * GPUTPCCompression::SetPointersOutput ( void mem)

Definition at line 49 of file GPUTPCCompression.cxx.

◆ SetPointersOutputGPU()

void * GPUTPCCompression::SetPointersOutputGPU ( void mem)

Definition at line 24 of file GPUTPCCompression.cxx.

◆ SetPointersOutputHost()

void * GPUTPCCompression::SetPointersOutputHost ( void mem)

Definition at line 30 of file GPUTPCCompression.cxx.

◆ SetPointersOutputPtrs()

void * o2::gpu::GPUTPCCompression::SetPointersOutputPtrs ( void mem)

◆ SetPointersScratch()

void * GPUTPCCompression::SetPointersScratch ( void mem)

Definition at line 37 of file GPUTPCCompression.cxx.

Friends And Related Symbol Documentation

◆ GPUChainTracking

friend class GPUChainTracking
friend

Definition at line 32 of file GPUTPCCompression.h.

◆ GPUTPCCompressionGatherKernels

Definition at line 31 of file GPUTPCCompression.h.

◆ GPUTPCCompressionKernels

Definition at line 30 of file GPUTPCCompression.h.

Member Data Documentation

◆ mAttachedClusterFirstIndex

uint32_t* o2::gpu::GPUTPCCompression::mAttachedClusterFirstIndex = nullptr
protected

Definition at line 75 of file GPUTPCCompression.h.

◆ max

uint32_t uint32_t o2::gpu::GPUTPCCompression::max
protected

Definition at line 87 of file GPUTPCCompression.h.

◆ mClusterStatus

uint8_t* o2::gpu::GPUTPCCompression::mClusterStatus = nullptr
protected

Definition at line 76 of file GPUTPCCompression.h.

◆ mMaxClusterFactorBase1024

size_t o2::gpu::GPUTPCCompression::mMaxClusterFactorBase1024 = 0
protected

Definition at line 82 of file GPUTPCCompression.h.

◆ mMaxClusters

uint32_t o2::gpu::GPUTPCCompression::mMaxClusters = 0
protected

Definition at line 79 of file GPUTPCCompression.h.

◆ mMaxClustersInCache

uint32_t o2::gpu::GPUTPCCompression::mMaxClustersInCache = 0
protected

Definition at line 81 of file GPUTPCCompression.h.

◆ mMaxTrackClusters

uint32_t o2::gpu::GPUTPCCompression::mMaxTrackClusters = 0
protected

Definition at line 80 of file GPUTPCCompression.h.

◆ mMaxTracks

uint32_t o2::gpu::GPUTPCCompression::mMaxTracks = 0
protected

Definition at line 78 of file GPUTPCCompression.h.

◆ mMemory

memory* o2::gpu::GPUTPCCompression::mMemory = nullptr
protected

Definition at line 74 of file GPUTPCCompression.h.

◆ mMemoryResOutputGPU

int16_t o2::gpu::GPUTPCCompression::mMemoryResOutputGPU = -1
protected

Definition at line 90 of file GPUTPCCompression.h.

◆ mMemoryResOutputHost

int16_t o2::gpu::GPUTPCCompression::mMemoryResOutputHost = -1
protected

Definition at line 89 of file GPUTPCCompression.h.

◆ mOutput

o2::tpc::CompressedClusters* o2::gpu::GPUTPCCompression::mOutput = nullptr
protected

Definition at line 70 of file GPUTPCCompression.h.

◆ mOutputA

o2::tpc::CompressedClusters* o2::gpu::GPUTPCCompression::mOutputA = nullptr
protected

Definition at line 71 of file GPUTPCCompression.h.

◆ mOutputFlat

o2::tpc::CompressedClustersFlat* o2::gpu::GPUTPCCompression::mOutputFlat = nullptr
protected

Definition at line 72 of file GPUTPCCompression.h.

◆ mPtrs

o2::tpc::CompressedClustersPtrs o2::gpu::GPUTPCCompression::mPtrs
protected

Definition at line 69 of file GPUTPCCompression.h.

◆ nBits

uint32_t o2::gpu::GPUTPCCompression::nBits
protected

Definition at line 87 of file GPUTPCCompression.h.

◆ NSECTORS

constexpr uint32_t o2::gpu::GPUTPCCompression::NSECTORS = GPUCA_NSECTORS
staticconstexprprotected

Definition at line 67 of file GPUTPCCompression.h.

◆ P_MAX_FLAGS

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_FLAGS = 1 << 8
staticconstexpr

Definition at line 53 of file GPUTPCCompression.h.

◆ P_MAX_PAD

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_PAD = 1 << 16
staticconstexpr

Definition at line 51 of file GPUTPCCompression.h.

◆ P_MAX_QMAX

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_QMAX = 1 << 10
staticconstexpr

Definition at line 48 of file GPUTPCCompression.h.

◆ P_MAX_QPT

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_QPT = 1 << 8
staticconstexpr

Definition at line 54 of file GPUTPCCompression.h.

◆ P_MAX_QTOT

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_QTOT = 5 * 5 * P_MAX_QMAX
staticconstexpr

Definition at line 49 of file GPUTPCCompression.h.

◆ P_MAX_SIGMA

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_SIGMA = 1 << 8
staticconstexpr

Definition at line 52 of file GPUTPCCompression.h.

◆ P_MAX_TIME

constexpr uint32_t o2::gpu::GPUTPCCompression::P_MAX_TIME = 1 << 24
staticconstexpr

Definition at line 50 of file GPUTPCCompression.h.

◆ param

const GPUParam & o2::gpu::GPUTPCCompression::param { truncateSignificantBits(charge, param.rec.tpc.sigBitsCharge, P_MAX_QTOT)

Definition at line 56 of file GPUTPCCompression.h.


The documentation for this class was generated from the following files: