Skip to main content

Module barrier

Module barrier 

Source
Expand description

This module exposes barrier for asynchronous data transfer

Modules§

copy_async
copy_async_checked

Structs§

Barrier
A mechanism for awaiting on asynchronous data transfers Behavior is defined by its BarrierLevel.
BarrierToken

Functions§

copy_async
Copy the source slice in global memory to destination in shared memory with a low level async copy. This only copies up to 128 bits/16 bytes, and does not synchronize. Use barrier.copy_async_arrive to make the reads visible. copy_size is in terms of elements to simplify copying between different vector sizes.
copy_async_checked
Copy the source slice in global memory to destination in shared memory with a low level async copy. This only copies up to 128 bits/16 bytes, and does not synchronize. Use barrier.copy_async_arrive to make the reads visible. copy_size is in terms of elements to simplify copying between different vector sizes.

Type Aliases§

BarrierExpand