jax.experimental.pallas.mosaic_gpu.barrier_test

Contents

jax.experimental.pallas.mosaic_gpu.barrier_test#

jax.experimental.pallas.mosaic_gpu.barrier_test(barrier)[source]#

Tests the given barrier.

This is a non-blocking equivalent of barrier_wait, which returns a boolean indicating whether or not the current barrier phase is complete.

barrier_test is only supported within a warp context.

Parameters:

barrier (state.AbstractRef)

Return type:

jax.Array