jax.experimental.pallas.mosaic_gpu.Barrier#
- class jax.experimental.pallas.mosaic_gpu.Barrier(num_arrivals, num_barriers=1, *, for_tensor_core=False)[source]#
Describes a barrier Ref.
- num_barriers#
The number of barriers that will be created. Individual barriers can be accessed by indexing into the barrier Ref.
- Type:
- for_tensor_core#
Whether this barrier is used for synchronizing with the tensor core. This should be set to True when waiting on Blackwell (TC Gen 5) asynchoronous matmul instructions.
- Type:
- __init__(num_arrivals, num_barriers=1, *, for_tensor_core=False)#
Methods
__init__
(num_arrivals[, num_barriers, ...])get_ref_aval
()Attributes