PandaRoot
SttCellTrackFinder/MacrosForGPUComputing.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*
14  * MacrosForGPUComputing.h
15  *
16  * Created on: Sep 1, 2015
17  * Author: schumann
18  */
19 
20 #ifndef MACROSFORGPUCOMPUTING_H_
21 #define MACROSFORGPUCOMPUTING_H_
22 
23 // Values for gpu algorithm
24 #define NUM_STRAWS 4542
25 #define MAX_SKEWED_NEIGHBORS 22
26 #define MAX_UNSKEWED_NEIGHBORS 6
27 #define START_TUBE_ID_SKEWED 855
28 #define END_TUBE_ID_SKEWED 2956
29 #define NUM_SKEWED_STRAWS (END_TUBE_ID_SKEWED - START_TUBE_ID_SKEWED + 1)
30 #define NUM_UNSKEWED_STRAWS (NUM_STRAWS - NUM_SKEWED_STRAWS)
31 
32 #define MAX_THREADS_PER_BLOCK 1024
33 #define MAX_MULTISTATE_NUM 20
34 
35 #define WARP_SIZE 32
36 
37 #endif /* MACROSFORGPUCOMPUTING_H_ */