[v0.11] Working for future support of Intel iGPUs

This commit is contained in:
Dr-Noob
2021-11-25 19:03:52 +01:00
parent 3502f48f71
commit 149e5ad62c
12 changed files with 181 additions and 47 deletions

View File

@@ -1,10 +1,9 @@
#ifndef __CUDA__
#define __CUDA__
#ifndef __CUDA_GPU__
#define __CUDA_GPU__
#include "../common/gpu.hpp"
struct gpu_info* get_gpu_info(int gpu_idx);
int print_gpus_list();
struct gpu_info* get_gpu_info_cuda(int gpu_idx);
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);