Project
Loading...
Searching...
No Matches
GPUTPCCFMCLabelFlattener.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 O2_GPU_GPUTPCCF_MCLABEL_FLATTENER_H
16#define O2_GPU_GPUTPCCF_MCLABEL_FLATTENER_H
17
18#include "GPUGeneralKernels.h"
19
20#include "clusterFinderDefs.h"
21#include "GPUTPCClusterFinder.h"
22#include "GPUConstantMem.h"
23
24namespace o2::gpu
25{
26
27struct GPUTPCLinearLabels;
28
30{
31
32 public:
34 };
35
36 enum K : int32_t {
39 };
40
43 {
44 return processors.tpcClusterer;
45 }
46
47 GPUhdi() constexpr static GPUDataTypes::RecoStep GetRecoStep()
48 {
49 return GPUDataTypes::RecoStep::TPCClusterFinding;
50 }
51
52 template <int32_t iKernel = defaultKernel, typename... Args>
53 GPUd() static void Thread(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUSharedMemory& smem, processorType& clusterer, Args... args);
54
56};
57
58} // namespace o2::gpu
59
60#endif
int32_t int32_t int32_t processorType & processors
GPUhdi() static processorType *Processor(GPUConstantMem &processors)
static void setGlobalOffsetsAndAllocate(GPUTPCClusterFinder &, GPUTPCLinearLabels &)
int32_t int32_t int32_t GPUSharedMemory processorType Args args
GPUhdi() const expr static GPUDataTypes
int32_t int32_t int32_t GPUSharedMemory processorType & clusterer
int32_t int32_t int32_t GPUSharedMemory & smem
GPUd() static void Thread(int32_t nBlocks