Project
Loading...
Searching...
No Matches
GPUITSFitter.cxx
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#include "GPUITSFitter.h"
16
17#include "ITStracking/Road.h"
18#include "ITStracking/Cluster.h"
19#include "GPUITSTrack.h"
20#include "GPUReconstruction.h"
21
22using namespace o2::gpu;
23
24#ifndef GPUCA_GPUCODE
28
30{
32 for (int32_t i = 0; i < 7; i++) {
34 }
35 return mem;
36}
37
39{
41 return mem;
42}
43
45{
47 return mem;
48}
49
57
59#endif
60
62{
63 new (mMemory) Memory;
64}
int32_t i
void * SetPointersTracks(void *mem)
void * SetPointersInput(void *mem)
o2::its::Road< 5 > * mRoads
GPUITSTrack * mTracks
void * SetPointersMemory(void *mem)
void SetMaxData(const GPUTrackingInOutPointers &io)
o2::its::TrackingFrameInfo ** mTF
GPUReconstruction * mRec
static void computePointerWithAlignment(T *&basePtr, S *&objPtr, size_t nEntries=1)
int16_t RegisterMemoryAllocation(T *proc, void *(T::*setPtr)(void *), int32_t type, const char *name="", const GPUMemoryReuse &re=GPUMemoryReuse())