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
07d143f4
Unverified
Commit
07d143f4
authored
Jun 15, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jun 15, 2024
Browse files
Merge pull request #5058 from coolljt0725/fix_build_warning
gpu: Fix build warning
parents
4b0050cf
225f0d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gpu/gpu_info_oneapi.c
gpu/gpu_info_oneapi.c
+1
-1
No files found.
gpu/gpu_info_oneapi.c
View file @
07d143f4
...
@@ -160,7 +160,7 @@ void oneapi_check_vram(oneapi_handle_t h, int driver, int device,
...
@@ -160,7 +160,7 @@ void oneapi_check_vram(oneapi_handle_t h, int driver, int device,
return
;
return
;
}
}
snprintf
(
&
resp
->
gpu_name
[
0
],
GPU_NAME_LEN
,
props
.
modelName
);
snprintf
(
&
resp
->
gpu_name
[
0
],
GPU_NAME_LEN
,
"%s"
,
props
.
modelName
);
// TODO this needs to map to ONEAPI_DEVICE_SELECTOR syntax
// TODO this needs to map to ONEAPI_DEVICE_SELECTOR syntax
// (this is probably wrong...)
// (this is probably wrong...)
...
...
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