[v0.24] Small fixes; improve PCI report when no GPU is found, speedup invalid GPU idx detection

This commit is contained in:
Dr-Noob
2022-05-14 12:00:23 +02:00
parent c4ad2bd4f8
commit 24f20d0901
5 changed files with 30 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ struct gpu_list* get_gpu_list();
bool print_gpus_list(struct gpu_list* list);
int get_num_gpus_available(struct gpu_list* list);
void print_enabled_backends();
bool gpu_idx_valid(int idx);
struct gpu_info* get_gpu_info(struct gpu_list* list, int idx);
#endif