Skip to content

Commit d7fb4dd

Browse files
Chaluvadisyurkevi
Chaluvadi
authored andcommittedApr 12, 2024·
sync() default value fix
1 parent 28e1c1b commit d7fb4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎arrayfire_wrapper/lib/create_and_modify_array/manage_device.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def set_device(device_id: int, /) -> None:
429429
call_from_clib(set_device.__name__, device_id)
430430

431431

432-
def sync(device_id: int, /) -> None:
432+
def sync(device_id: int = -1, /) -> None:
433433
"""
434434
Blocks until all operations on device are finished.
435435

0 commit comments

Comments
 (0)