Project
Loading...
Searching...
No Matches
VertexingKernels.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.
12
13#ifndef ITSTRACKINGGPU_VERTEXINGKERNELS_H_
14#define ITSTRACKINGGPU_VERTEXINGKERNELS_H_
19
24
25namespace o2::its::gpu
26{
27#ifdef GPUCA_GPUCODE // GPUg() global kernels must only when compiled by GPU compiler
28template <TrackletMode Mode>
29GPUg() void trackleterKernelMultipleRof(
30 const Cluster* clustersNextLayer, // 0 2
31 const Cluster* clustersCurrentLayer, // 1 1
32 const int* sizeNextLClusters,
33 const int* sizeCurrentLClusters,
34 const int* nextIndexTables,
35 Tracklet* Tracklets,
36 int* foundTracklets,
37 const IndexTableUtils* utils,
38 const unsigned int startRofId,
39 const unsigned int rofSize,
40 const float phiCut,
41 const size_t maxTrackletsPerCluster);
42#endif
43template <TrackletMode Mode>
44void trackletFinderHandler(const Cluster* clustersNextLayer, // 0 2
45 const Cluster* clustersCurrentLayer, // 1 1
46 const int* sizeNextLClusters,
47 const int* sizeCurrentLClusters,
48 const int* nextIndexTables,
49 Tracklet* Tracklets,
50 int* foundTracklets,
52 const unsigned int startRofId,
53 const unsigned int rofSize,
54 const float phiCut,
55 const size_t maxTrackletsPerCluster = 1e2);
56} // namespace o2::its::gpu
57#endif
GPU-compliant version of ClusterLines, for the moment separated, might create a common traits for Clu...
#define GPUg()
HMPID cluster implementation.
Definition Cluster.h:27
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
void trackletFinderHandler(const Cluster *clustersNextLayer, const Cluster *clustersCurrentLayer, const int *sizeNextLClusters, const int *sizeCurrentLClusters, const int *nextIndexTables, Tracklet *Tracklets, int *foundTracklets, const IndexTableUtils *utils, const unsigned int startRofId, const unsigned int rofSize, const float phiCut, const size_t maxTrackletsPerCluster=1e2)
Common utility functions.