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
4ad0d4d6
Unverified
Commit
4ad0d4d6
authored
Jun 18, 2024
by
Lei Jitang
Committed by
GitHub
Jun 17, 2024
Browse files
Fix a build warning (#5096)
Signed-off-by:
Lei Jitang
<
leijitang@outlook.com
>
parent
163cd3e7
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 @
4ad0d4d6
...
@@ -98,7 +98,7 @@ void oneapi_init(char *oneapi_lib_path, oneapi_init_resp_t *resp) {
...
@@ -98,7 +98,7 @@ void oneapi_init(char *oneapi_lib_path, oneapi_init_resp_t *resp) {
}
}
for
(
d
=
0
;
d
<
resp
->
oh
.
num_drivers
;
d
++
)
{
for
(
d
=
0
;
d
<
resp
->
oh
.
num_drivers
;
d
++
)
{
LOG
(
resp
->
oh
.
verbose
,
"calling zesDeviceGet
%d
\n
"
,
resp
->
oh
.
drivers
[
d
]);
LOG
(
resp
->
oh
.
verbose
,
"calling zesDeviceGet
count %d: %p
\n
"
,
d
,
resp
->
oh
.
drivers
[
d
]);
ret
=
(
*
resp
->
oh
.
zesDeviceGet
)(
resp
->
oh
.
drivers
[
d
],
ret
=
(
*
resp
->
oh
.
zesDeviceGet
)(
resp
->
oh
.
drivers
[
d
],
&
resp
->
oh
.
num_devices
[
d
],
NULL
);
&
resp
->
oh
.
num_devices
[
d
],
NULL
);
if
(
ret
!=
ZE_RESULT_SUCCESS
)
{
if
(
ret
!=
ZE_RESULT_SUCCESS
)
{
...
...
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