gpu_info.h
Go to the documentation of this file.
/*
Copyright (C) 2022 The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#ifndef GPU_INFO_H
#define GPU_INFO_H
int gpu_count_get();
char *gpu_name_get();
#endif
/* vim: set noexpandtab tabstop=8: */
gpu_count_get
int gpu_count_get()
Get the total number of gpus.
gpu_name_get
char * gpu_name_get()
Get the model name of gpu.