jax.experimental.pallas.RevisitMode#
- class jax.experimental.pallas.RevisitMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Specifies whether an output buffer supports revisiting.
By default, buffers can only be safely revisited at the next iteration (immediate revisiting). If revisited at any other iteration, the buffer state should be considered undefined.
If revisiting at any arbitrary iteration is required, use RevisitMode.ANY. This will insert additional DMAs as needed to restore the buffer state.
Input buffers ignore revisit mode: as inputs read data from memory, their buffers state is correct regardless of revisit order.
- __init__(*args, **kwds)#
Attributes
IMMEDIATEANY