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
1d1e0649
Unverified
Commit
1d1e0649
authored
Aug 14, 2025
by
thatPepe
Committed by
GitHub
Aug 14, 2025
Browse files
issue/365 - fixing an interface mismatch
parent
adbda4c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/infiniop/libinfiniop/utils.py
test/infiniop/libinfiniop/utils.py
+1
-1
No files found.
test/infiniop/libinfiniop/utils.py
View file @
1d1e0649
...
...
@@ -608,6 +608,6 @@ def get_sync_func(device):
if
device
==
InfiniDeviceEnum
.
CPU
or
device
==
InfiniDeviceEnum
.
CAMBRICON
:
sync
=
None
else
:
sync
=
getattr
(
torch
,
infiniDeviceEnum_str
_map
[
device
]).
synchronize
sync
=
getattr
(
torch
,
torch_device
_map
[
device
]).
synchronize
return
sync
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