cctools
gpu_info.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2013- The University of Notre Dame
3 This software is distributed under the GNU General Public License.
4 See the file COPYING for details.
5 */
6 
7 #ifndef GPU_INFO_H
8 #define GPU_INFO_H
9 
17 int gpu_info_get();
18 
22 char *gpu_name_get();
23 
24 #endif
25 
26 /* vim: set noexpandtab tabstop=4: */
char * gpu_name_get()
Get the model name of gpu.
int gpu_info_get()
Get the total number of gpus.