[v0.04] Fix bug in which NVML was using the wrong GPU id

This commit is contained in:
Dr-Noob
2021-08-16 15:18:55 +02:00
parent fd15008ab2
commit dea5211791
3 changed files with 12 additions and 7 deletions

View File

@@ -62,6 +62,7 @@ struct gpu_info {
struct memory* mem;
struct cache* cach;
int64_t peak_performance;
int32_t idx;
};
VENDOR get_gpu_vendor(struct gpu_info* gpu);