[v0.11] Working in master GPU handler for supporting diverse GPU vendors

This commit is contained in:
Dr-Noob
2021-11-26 08:22:30 +01:00
parent 149e5ad62c
commit 461e0d2ede
7 changed files with 54 additions and 14 deletions

View File

@@ -4,6 +4,7 @@
#include "../common/gpu.hpp"
struct gpu_info* get_gpu_info_cuda(int gpu_idx);
bool print_gpu_cuda(struct gpu_info* gpu);
char* get_str_sm(struct gpu_info* gpu);
char* get_str_cores_sm(struct gpu_info* gpu);
char* get_str_cuda_cores(struct gpu_info* gpu);