added Verlet scheme and NxN non-bonded functionality
[gromacs.git] / include / gmx_detect_hardware.h
bloba3acf0b7b473f814016f100f1cdc952a98df657a
1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
3 *
4 * This file is part of GROMACS.
5 * Copyright (c) 2012-
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
18 * And Hey:
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"
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 #if 0
31 } /* fixes auto-indentation problems */
32 #endif
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);
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,
43 gmx_bool bUseGPU);
45 #ifdef __cplusplus
47 #endif
50 #endif /* GMX_HARDWARE_DETECT_H */