jax.experimental.pallas.mosaic_gpu.print_layout

Contents

jax.experimental.pallas.mosaic_gpu.print_layout#

jax.experimental.pallas.mosaic_gpu.print_layout(fmt, x)[source]#

Prints the layout chosen by Mosaic GPU for a given array, SMEM, or TMEM reference.

This is evaluated at compile-time and has no incidence on the runtime behavior of the program.

Parameters:
  • fmt (str) – The format string to use for printing the layout.

  • x (jax.typing.ArrayLike | _Ref) – The array, SMEM, or TMEM reference to print the layout of.

Return type:

None