Project
Loading...
Searching...
No Matches
GPUTPCStartHitsFinder.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
14
15
#ifndef GPUTPCSTARTHITSFINDER_H
16
#define GPUTPCSTARTHITSFINDER_H
17
18
#include "
GPUTPCDef.h
"
19
#include "
GPUTPCHitId.h
"
20
#include "
GPUGeneralKernels.h
"
21
#include "
GPUConstantMem.h
"
22
23
namespace
o2::gpu
24
{
25
class
GPUTPCTracker;
26
31
class
GPUTPCStartHitsFinder
:
public
GPUKernelTemplate
32
{
33
public
:
34
struct
GPUSharedMemory
{
35
int32_t
mIRow
;
// row index
36
int32_t
mNHits
;
// n hits in the row
37
GPUAtomic
(uint32_t) mNRowStartHits;
// start hits found in the row
38
};
39
40
typedef
GPUconstantref
()
GPUTPCTracker
processorType;
41
GPUhdi
() constexpr static
GPUDataTypes
::RecoStep GetRecoStep() {
return
GPUCA_RECO_STEP::TPCSectorTracking; }
42
GPUhdi
() static processorType* Processor(
GPUConstantMem
&
processors
)
43
{
44
return
processors
.tpcTrackers;
45
}
46
template
<
int
32_t iKernel = defaultKernel>
47
GPUd
() static
void
Thread(int32_t nBlocks, int32_t
nThreads
, int32_t
iBlock
, int32_t
iThread
,
GPUsharedref
()
GPUSharedMemory
& smem, processorType&
tracker
);
48
};
49
}
// namespace o2::gpu
50
51
#endif
// GPUTPCSTARTHITSFINDER_H
GPUsharedref
#define GPUsharedref()
Definition
GPUCommonDefAPI.h:56
GPUConstantMem.h
GPUGeneralKernels.h
GPUTPCDef.h
GPUTPCHitId.h
o2::gpu::GPUDataTypes
Definition
GPUDataTypes.h:118
o2::gpu::GPUKernelTemplate
Definition
GPUGeneralKernels.h:40
o2::gpu::GPUKernelTemplate::processors
int32_t int32_t int32_t processorType & processors
Definition
GPUGeneralKernels.h:88
o2::gpu::GPUTPCStartHitsFinder
Definition
GPUTPCStartHitsFinder.h:32
o2::gpu::GPUTPCStartHitsFinder::GPUhdi
GPUhdi() static processorType *Processor(GPUConstantMem &processors)
Definition
GPUTPCStartHitsFinder.h:42
o2::gpu::GPUTPCStartHitsFinder::GPUd
GPUd() static void Thread(int32_t nBlocks
o2::gpu::GPUTPCStartHitsFinder::nThreads
int32_t nThreads
Definition
GPUTPCStartHitsFinder.h:47
o2::gpu::GPUTPCStartHitsFinder::tracker
int32_t int32_t int32_t processorType & tracker
Definition
GPUTPCStartHitsFinder.h:47
o2::gpu::GPUTPCStartHitsFinder::iThread
int32_t int32_t int32_t iThread
Definition
GPUTPCStartHitsFinder.h:47
o2::gpu::GPUTPCStartHitsFinder::GPUhdi
GPUhdi() const expr static GPUDataTypes
Definition
GPUTPCStartHitsFinder.h:41
o2::gpu::GPUTPCStartHitsFinder::iBlock
int32_t int32_t iBlock
Definition
GPUTPCStartHitsFinder.h:47
o2::gpu::GPUTPCStartHitsFinder::GPUconstantref
typedef GPUconstantref() GPUTPCTracker processorType
o2::gpu::GPUTPCTracker
Definition
GPUTPCTracker.h:40
o2::gpu
Definition
TrackTRD.h:35
o2::gpu::GPUConstantMem
Definition
GPUConstantMem.h:39
o2::gpu::GPUTPCStartHitsFinder::GPUSharedMemory
Definition
GPUTPCStartHitsFinder.h:34
o2::gpu::GPUTPCStartHitsFinder::GPUSharedMemory::GPUAtomic
GPUAtomic(uint32_t) mNRowStartHits
o2::gpu::GPUTPCStartHitsFinder::GPUSharedMemory::mNHits
int32_t mNHits
Definition
GPUTPCStartHitsFinder.h:36
o2::gpu::GPUTPCStartHitsFinder::GPUSharedMemory::mIRow
int32_t mIRow
Definition
GPUTPCStartHitsFinder.h:35
GPU
GPUTracking
SectorTracker
GPUTPCStartHitsFinder.h
Generated on Tue Feb 25 2025 17:03:26 for Project by
1.9.8