Module synchronization

Source

Modules§

sync_storage
sync_units

Functions§

sync_storage
Sync_storage is the same but change “cube address space(shared memory)” to “storage address space(input args)”. But the set of invocations that are collaborating is still only the invocations in the same cube.There is no guarantee about using barriers alone to make the writes to storage buffer in one cube become visible to invocations in a different cube.
sync_units
Coordinates the following among all invocations in the current cube: