triton.experimental.gluon.language.SharedLinearLayout

class triton.experimental.gluon.language.SharedLinearLayout(self, offset_bases: ~typing.List[~typing.List[int]], block_bases: ~typing.List[~typing.List[int]] = <factory>, alignment: int = 16)

Represents a shared memory layout defined via an explicit LinearLayout.

__init__(self, offset_bases: ~typing.List[~typing.List[int]], block_bases: ~typing.List[~typing.List[int]] = <factory>, alignment: int = 16) None

Methods

__init__(self, offset_bases, block_bases, ...)

format_hardware_view(self, shape)

format_tensor_view(self, shape)

mangle(self)

Attributes

alignment

shape

type

offset_bases

block_bases