jax.experimental.pallas.mosaic_gpu.WarpMesh

jax.experimental.pallas.mosaic_gpu.WarpMesh#

class jax.experimental.pallas.mosaic_gpu.WarpMesh(*, axis_name)[source]#

Represents a mesh over individual warps within a warpgroup.

When used in conjunction with core_map, the warp ID will be visible within the body of the wrapped scope by querying lax.axis_index with the specified axis name.

Parameters:

axis_name (jax_core.AxisName)

__init__(*, axis_name)#
Parameters:

axis_name (jax_core.AxisName)

Return type:

None

Methods

__init__(*, axis_name)

check_is_compatible_with(other_mesh)

Raise if this mesh (e.g., its axes names) cannot be used with other_mesh.

discharges_effect(effect)

tracing_context()

Attributes

core_type

default_memory_space

shape

supported_memory_spaces

Return the memory spaces supported by the mesh.

axis_name