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
5f0f80d6
Commit
5f0f80d6
authored
Nov 18, 2025
by
zhangyue
Browse files
issue/614: fix device class in python
parent
cad2d45a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/infinirt/infinirt.cc
src/infinirt/infinirt.cc
+1
-1
No files found.
src/infinirt/infinirt.cc
View file @
5f0f80d6
...
...
@@ -23,7 +23,7 @@ __C infiniStatus_t infinirtGetAllDeviceCount(int *count_array) {
return
INFINI_STATUS_NULL_POINTER
;
}
for
(
size_t
i
=
0
;
i
<
INFINI_DEVICE_TYPE_COUNT
;
i
++
)
{
if
(
i
==
INFINI_DEVICE_ILUVATAR
||
i
==
INFINI_DEVICE_QY
||
i
==
INFINI_DEVICE_KUNLUN
||
i
==
INFINI_DEVICE_HYGON
)
{
if
(
i
==
INFINI_DEVICE_ILUVATAR
||
i
==
INFINI_DEVICE_HYGON
)
{
count_array
[
i
]
=
0
;
continue
;
}
...
...
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