MCBooster  1.0.1
Tool to generate MC phase space samples in parallel.
Config.h
Go to the documentation of this file.
1 /*
2  * Config.h
3  *
4  * Created on: Feb 24, 2016
5  * Author: Antonio Augusto Alves Junior
6  */
7 
8 /*
9  * This file is part of MCBooster.
10  *
11  * MCBooster is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * MCBooster is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with MCBooster. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #ifndef CONFIG_H_
26 #define CONFIG_H_
27 
28 #define CUDA_API_PER_THREAD_DEFAULT_STREAM
29 
30 #include <thrust/detail/config/host_device.h>
31 
32 #if !(THRUST_DEVICE_SYSTEM==THRUST_DEVICE_BACKEND_OMP || THRUST_DEVICE_SYSTEM==THRUST_DEVICE_BACKEND_TBB)
33 
34  #include <cuda.h>
35  #include <cuda_runtime.h>
36  #include <cuda_runtime_api.h>
37 
38 
39 #endif
40 
41 
42 
43 #endif /* CUDA_H_ */