1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
4 * This file is part of GROMACS.
7 * Written by the Gromacs development team under coordination of
8 * David van der Spoel, Berk Hess, and Erik Lindahl.
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.
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
19 * GROup of MAchos and Cynical Suckers
22 #ifndef GMX_HARDWARE_DETECT_H
23 #define GMX_HARDWARE_DETECT_H
25 #include "types/hw_info.h"
31 } /* fixes auto-indentation problems */
34 void gmx_detect_hardware(FILE *fplog
, gmx_hw_info_t
*hwinfo
,
36 gmx_bool bForceUseGPU
, gmx_bool bTryUseGPU
,
39 void gmx_hardware_info_free(gmx_hw_info_t
*hwinfo
);
41 void gmx_check_hw_runconf_consistency(FILE *fplog
, gmx_hw_info_t
*hwinfo
,
42 const t_commrec
*cr
, int ntmpi_requsted
,
50 #endif /* GMX_HARDWARE_DETECT_H */