An open source method of characteristics neutron transport code.
GPUQuery.h
Go to the documentation of this file.
1 
10 #ifndef GPUQUERY_H_
11 #define GPUQUERY_H_
12 
13 #ifdef __cplusplus
14 #ifdef SWIG
15 #include "Python.h"
16 #endif
17 #include "../../log.h"
18 #endif
19 
20 bool machine_contains_gpu();
21 void attach_gpu(int id=0);
22 void print_basic_gpu_info();
23 void print_detailed_gpu_info();
24 int get_num_threads_per_warp();
25 
26 #endif /* GPUQUERY_H_ */