Project
Loading...
Searching...
No Matches
GPUTPCConvert.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 GPUTPCCONVERT_H
16#define GPUTPCCONVERT_H
17
18#include "GPUDef.h"
19#include "GPUProcessor.h"
20
21namespace o2::gpu
22{
23struct GPUTPCClusterData;
24
26{
27 friend class GPUTPCConvertKernel;
28 friend class GPUChainTracking;
29
30 public:
31#ifndef GPUCA_GPUCODE
35
36 void* SetPointersOutput(void* mem);
37 void* SetPointersMemory(void* mem);
38#endif
39
40 constexpr static uint32_t NSECTORS = GPUCA_NSECTORS;
41
45
46 protected:
47 Memory* mMemory = nullptr;
49 uint32_t mNClustersTotal = 0;
50
51 int16_t mMemoryResOutput = -1;
52 int16_t mMemoryResMemory = -1;
53};
54} // namespace o2::gpu
55
56#endif
#define GPUCA_NSECTORS
void * SetPointersMemory(void *mem)
GPUTPCClusterData * mClusters
static constexpr uint32_t NSECTORS
void SetMaxData(const GPUTrackingInOutPointers &io)
void * SetPointersOutput(void *mem)
GPUTPCClusterData * clusters[NSECTORS]