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
jerrrrry
infinicore
Commits
e25f4ca0
Unverified
Commit
e25f4ca0
authored
Jul 16, 2025
by
zhangyue
Committed by
GitHub
Jul 16, 2025
Browse files
issue/158/fix: Update infinirt.cc
parent
6dde36db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/infinirt/infinirt.cc
src/infinirt/infinirt.cc
+3
-0
No files found.
src/infinirt/infinirt.cc
View file @
e25f4ca0
...
@@ -70,6 +70,9 @@ __C infiniStatus_t infinirtGetDevice(infiniDevice_t *device_ptr, int *device_id_
...
@@ -70,6 +70,9 @@ __C infiniStatus_t infinirtGetDevice(infiniDevice_t *device_ptr, int *device_id_
case INFINI_DEVICE_KUNLUN: \
case INFINI_DEVICE_KUNLUN: \
_status = infinirt::kunlun::API PARAMS; \
_status = infinirt::kunlun::API PARAMS; \
break; \
break; \
case INFINI_DEVICE_ILUVATAR: \
_status = infinirt::cuda::API PARAMS; \
break; \
default: \
default: \
_status = INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED; \
_status = INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED; \
} \
} \
...
...
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