Closed
Description
The sync function is supposed to take a default device_id value of -1 according to the docs, but I'm forced to pass in an argument when calling the function. I made a PR for a potential fix.
def sync(device_id: int, /) -> None:
"""
Blocks until all operations on device are finished.
Parameters
----------
device_id: int
Id of the target device.
"""
call_from_clib(sync.__name__, `device_id)
Metadata
Metadata
Assignees
Labels
No labels