Pārlūkot izejas kodu

fix gpu_info_cuda.c compile warning (#3077)

mofanke 1 gadu atpakaļ
vecāks
revīzija
51578d8573
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      gpu/gpu_info_cuda.c

+ 2 - 2
gpu/gpu_info_cuda.c

@@ -155,8 +155,8 @@ void cuda_check_vram(cuda_handle_t h, mem_info_t *resp) {
       }
       }
     }
     }
 
 
-    LOG(h.verbose, "[%d] CUDA totalMem %ld\n", i, memInfo.total);
-    LOG(h.verbose, "[%d] CUDA usedMem %ld\n", i, memInfo.used);
+    LOG(h.verbose, "[%d] CUDA totalMem %llu\n", i, memInfo.total);
+    LOG(h.verbose, "[%d] CUDA usedMem %llu\n", i, memInfo.used);
 
 
     resp->total += memInfo.total;
     resp->total += memInfo.total;
     resp->free += memInfo.free;
     resp->free += memInfo.free;