jax.experimental.pallas.mosaic_gpu.Barrier#
- class jax.experimental.pallas.mosaic_gpu.Barrier(*, num_arrivals=1, num_barriers=1, orders_tensor_core=False)[source]#
Describes a barrier reference.
- num_barriers#
The number of barriers that will be created. Individual barriers can be accessed by indexing into the barrier Ref.
- Type:
- orders_tensor_core#
If False, a successfull wait from one thread does not guarantee that the TensorCore-related operations in other threads have completed. Similarly, when False any TensorCore operation in the waiting thread is allowed to begin before the wait succeeds.
- Type:
- __init__(*, num_arrivals=1, num_barriers=1, orders_tensor_core=False)#
Methods
__init__(*[, num_arrivals, num_barriers, ...])get_ref_aval()Attributes