[v0.20] Print help message when no GPU is detected to help people understand whats going on

This commit is contained in:
Dr-Noob
2021-12-21 17:02:08 +01:00
parent 3e9f72fcf0
commit a20e93f4db
6 changed files with 70 additions and 31 deletions

View File

@@ -7,6 +7,8 @@ struct gpu_list;
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();
struct gpu_info* get_gpu_info(struct gpu_list* list, int idx);
#endif