tilus.Script.copy_async_wait_group¶
- Script.copy_async_wait_group(n)[source]¶
Wait the completion of asynchronous copy groups.
This instruction waits for the completion of asynchronous copy groups. The n parameter specifies the maximum number of asynchronous copy groups that can be unfinished at the same time. If n is 0, it will wait until all asynchronous copy groups are finished. If n is greater than 0, it will wait until at least n asynchronous copy groups are finished, allowing up to n asynchronous copy groups to be unfinished at the same time.
- Parameters:
n (Union[Expr, int]) – The maximum number of asynchronous copy groups that can be unfinished at the same time. If n is 0, it will wait until all asynchronous copy groups are finished.
- Return type:
None