FairRoot/PandaRoot
MacrosForGPUComputing.h
Go to the documentation of this file.
1 /*
2  * MacrosForGPUComputing.h
3  *
4  * Created on: Sep 1, 2015
5  * Author: schumann
6  */
7 
8 #ifndef MACROSFORGPUCOMPUTING_H_
9 #define MACROSFORGPUCOMPUTING_H_
10 
11 //Values for gpu algorithm
12 #define NUM_STRAWS 4542
13 #define MAX_SKEWED_NEIGHBORS 22
14 #define MAX_UNSKEWED_NEIGHBORS 6
15 #define START_TUBE_ID_SKEWED 855
16 #define END_TUBE_ID_SKEWED 2956
17 #define NUM_SKEWED_STRAWS (END_TUBE_ID_SKEWED-START_TUBE_ID_SKEWED+1)
18 #define NUM_UNSKEWED_STRAWS (NUM_STRAWS-NUM_SKEWED_STRAWS)
19 
20 
21 #define MAX_THREADS_PER_BLOCK 1024
22 #define MAX_MULTISTATE_NUM 20
23 
24 #define WARP_SIZE 32
25 
26 #endif /* MACROSFORGPUCOMPUTING_H_ */