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
badf975e
Commit
badf975e
authored
Jun 19, 2024
by
Wang,Zhe
Browse files
get real func ptr.
parent
755b4e4f
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 @
badf975e
...
@@ -50,7 +50,7 @@ void oneapi_init(char *oneapi_lib_path, oneapi_init_resp_t *resp) {
...
@@ -50,7 +50,7 @@ void oneapi_init(char *oneapi_lib_path, oneapi_init_resp_t *resp) {
LOG
(
resp
->
oh
.
verbose
,
"dlsym: %s
\n
"
,
l
[
i
].
s
);
LOG
(
resp
->
oh
.
verbose
,
"dlsym: %s
\n
"
,
l
[
i
].
s
);
*
l
[
i
].
p
=
LOAD_SYMBOL
(
resp
->
oh
.
handle
,
l
[
i
].
s
);
*
l
[
i
].
p
=
LOAD_SYMBOL
(
resp
->
oh
.
handle
,
l
[
i
].
s
);
if
(
!
l
[
i
].
p
)
{
if
(
!
*
(
l
[
i
].
p
)
)
{
resp
->
oh
.
handle
=
NULL
;
resp
->
oh
.
handle
=
NULL
;
char
*
msg
=
LOAD_ERR
();
char
*
msg
=
LOAD_ERR
();
LOG
(
resp
->
oh
.
verbose
,
"dlerr: %s
\n
"
,
msg
);
LOG
(
resp
->
oh
.
verbose
,
"dlerr: %s
\n
"
,
msg
);
...
...
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