From 51578d857319a1e807e746dc7ab1b1f30a444958 Mon Sep 17 00:00:00 2001 From: mofanke <54242816+mofanke@users.noreply.github.com> Date: Wed, 13 Mar 2024 02:08:40 +0800 Subject: [PATCH] fix gpu_info_cuda.c compile warning (#3077) --- gpu/gpu_info_cuda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu/gpu_info_cuda.c b/gpu/gpu_info_cuda.c index 509bf5c6..36743d7c 100644 --- a/gpu/gpu_info_cuda.c +++ b/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->free += memInfo.free;