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
6dde36db
Unverified
Commit
6dde36db
authored
Jul 16, 2025
by
PanZezhong1725
Committed by
GitHub
Jul 16, 2025
Browse files
Merge pull request #329 from InfiniTensor/YdrMaster-patch-1
issue/158/fix: Update handle.cc
parents
400fad38
c78ca243
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/infiniop/devices/handle.cc
src/infiniop/devices/handle.cc
+2
-2
No files found.
src/infiniop/devices/handle.cc
View file @
6dde36db
...
...
@@ -45,7 +45,7 @@ __C infiniStatus_t infiniopCreateHandle(infiniopHandle_t *handle_ptr) {
CREATE
(
INFINI_DEVICE_NVIDIA
,
nvidia
);
#endif
#ifdef ENABLE_ILUVATAR_API
CREATE
(
INFINI_DEVICE_ILUVATAR
,
nvidia
);
CREATE
(
INFINI_DEVICE_ILUVATAR
,
iluvatar
);
#endif
#ifdef ENABLE_CAMBRICON_API
CREATE
(
INFINI_DEVICE_CAMBRICON
,
bang
::
cambricon
);
...
...
@@ -85,7 +85,7 @@ __C infiniStatus_t infiniopDestroyHandle(infiniopHandle_t handle) {
DELETE
(
INFINI_DEVICE_NVIDIA
,
nvidia
);
#endif
#ifdef ENABLE_ILUVATAR_API
DELETE
(
INFINI_DEVICE_ILUVATAR
,
nvidia
);
DELETE
(
INFINI_DEVICE_ILUVATAR
,
iluvatar
);
#endif
#ifdef ENABLE_CAMBRICON_API
DELETE
(
INFINI_DEVICE_CAMBRICON
,
bang
::
cambricon
);
...
...
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