Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
51578d85
Unverified
Commit
51578d85
authored
Mar 13, 2024
by
mofanke
Committed by
GitHub
Mar 12, 2024
Browse files
fix gpu_info_cuda.c compile warning (#3077)
parent
b5fcd9d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gpu/gpu_info_cuda.c
gpu/gpu_info_cuda.c
+2
-2
No files found.
gpu/gpu_info_cuda.c
View file @
51578d85
...
@@ -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 %l
d
\n
"
,
i
,
memInfo
.
total
);
LOG
(
h
.
verbose
,
"[%d] CUDA totalMem %l
lu
\n
"
,
i
,
memInfo
.
total
);
LOG
(
h
.
verbose
,
"[%d] CUDA usedMem %l
d
\n
"
,
i
,
memInfo
.
used
);
LOG
(
h
.
verbose
,
"[%d] CUDA usedMem %l
lu
\n
"
,
i
,
memInfo
.
used
);
resp
->
total
+=
memInfo
.
total
;
resp
->
total
+=
memInfo
.
total
;
resp
->
free
+=
memInfo
.
free
;
resp
->
free
+=
memInfo
.
free
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment