Line data Source code
1 : //-*- Mode: C++ -*-
2 : // ************************************************************************
3 : // This file is property of and copyright by the ALICE HLT Project *
4 : // ALICE Experiment at CERN, All rights reserved. *
5 : // See cxx source for full Copyright notice *
6 : // *
7 : //*************************************************************************
8 :
9 : #ifndef ALIHLTTPCCATRACKLETSELECTOR_H
10 : #define ALIHLTTPCCATRACKLETSELECTOR_H
11 :
12 :
13 : #include "AliHLTTPCCADef.h"
14 : #include "AliHLTTPCCAHitId.h"
15 : #include "AliHLTTPCCAGPUConfig.h"
16 : MEM_CLASS_PRE() class AliHLTTPCCATracker;
17 :
18 : /**
19 : * @class AliHLTTPCCATrackletSelector
20 : *
21 : */
22 : class AliHLTTPCCATrackletSelector
23 : {
24 : public:
25 : MEM_CLASS_PRE() class AliHLTTPCCASharedMemory
26 : {
27 : friend class AliHLTTPCCATrackletSelector;
28 :
29 : protected:
30 : int fItr0; // index of the first track in the block
31 : int fNThreadsTotal; // total n threads
32 : int fNTracklets; // n of tracklets
33 : #if HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0
34 : AliHLTTPCCAHitId fHits[HLTCA_GPU_THREAD_COUNT_SELECTOR][HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE];
35 : #endif //HLTCA_GPU_TRACKLET_SELECTOR_HITS_REG_SIZE != 0
36 : };
37 :
38 0 : GPUd() static int NThreadSyncPoints() { return 1; }
39 :
40 : GPUd() static void Thread( int nBlocks, int nThreads, int iBlock, int iThread, int iSync,
41 : MEM_LOCAL(GPUsharedref() AliHLTTPCCASharedMemory) &smem, GPUconstant() MEM_CONSTANT(AliHLTTPCCATracker) &tracker );
42 :
43 : };
44 :
45 :
46 : #endif //ALIHLTTPCCATRACKLETSELECTOR_H
|