Project
Loading...
Searching...
No Matches
GPUTPCGlobalDebugSortKernels.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 GPUTPCGLOBALDEBUGSORTKERNELS_H
16#define GPUTPCGLOBALDEBUGSORTKERNELS_H
17
18#include "GPUTPCDef.h"
19#include "GPUGeneralKernels.h"
20#include "GPUConstantMem.h"
21
22namespace o2::gpu
23{
24
25class GPUTPCGMMerger;
27{
28 public:
29 enum K { defaultKernel = 0,
35 GPUhdi() constexpr static GPUDataTypes::RecoStep GetRecoStep() { return GPUDataTypes::RecoStep::TPCMerging; }
37 GPUhdi() static processorType* Processor(GPUConstantMem& processors) { return &processors.tpcMerger; }
38
39 template <int32_t iKernel = defaultKernel>
40 GPUd() static void Thread(int32_t nBlocks, int32_t nThreads, int32_t iBlock, int32_t iThread, GPUsharedref() GPUSharedMemory& smem, processorType& tracker, int8_t parameter);
41};
42
43} // namespace o2::gpu
44
45#endif // GPUTPCGLOBALDEBUGSORTKERNELS_H
#define GPUsharedref()
int32_t int32_t int32_t processorType & processors
GPUhdi() static processorType *Processor(GPUConstantMem &processors)
int32_t int32_t int32_t processorType & tracker
GPUd() static void Thread(int32_t nBlocks
int32_t int32_t int32_t processorType int8_t parameter