Unverified Commit 51578d85 authored by mofanke's avatar mofanke Committed by GitHub
Browse files

fix gpu_info_cuda.c compile warning (#3077)

parent b5fcd9d3
...@@ -155,8 +155,8 @@ void cuda_check_vram(cuda_handle_t h, mem_info_t *resp) { ...@@ -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 totalMem %llu\n", i, memInfo.total);
LOG(h.verbose, "[%d] CUDA usedMem %ld\n", i, memInfo.used); 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment