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