added Verlet scheme and NxN non-bonded functionality
[alexxy/gromacs.git] / include / gmx_detect_hardware.h
1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
2  *
3  * 
4  * This file is part of GROMACS.
5  * Copyright (c) 2012-  
6  *
7  * Written by the Gromacs development team under coordination of
8  * David van der Spoel, Berk Hess, and Erik Lindahl.
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * To help us fund GROMACS development, we humbly ask that you cite
16  * the research papers on the package. Check out http://www.gromacs.org
17  * 
18  * And Hey:
19  * GROup of MAchos and Cynical Suckers
20  */
21
22 #ifndef GMX_HARDWARE_DETECT_H
23 #define GMX_HARDWARE_DETECT_H
24
25 #include "types/hw_info.h"
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 #if 0
31 } /* fixes auto-indentation problems */
32 #endif
33
34 void gmx_detect_hardware(FILE *fplog, gmx_hw_info_t *hwinfo,
35                          const t_commrec *cr,
36                          gmx_bool bForceUseGPU, gmx_bool bTryUseGPU,
37                          const char *gpu_id);
38
39 void gmx_hardware_info_free(gmx_hw_info_t *hwinfo);
40
41 void gmx_check_hw_runconf_consistency(FILE *fplog, gmx_hw_info_t *hwinfo,
42                                       const t_commrec *cr, int ntmpi_requsted,
43                                       gmx_bool bUseGPU);
44
45 #ifdef __cplusplus
46 }
47 #endif
48
49
50 #endif /* GMX_HARDWARE_DETECT_H */