triton.extension.buffer.language.buffer_type

triton.extension.buffer.language.buffer_type#

class triton.extension.buffer.language.buffer_type#

Represents the type of a buffer, including its element type, shape, address space, and optional strides.

参数:
  • element_ty (tl.dtype) -- the data type of each element in the buffer.

  • shape (List[int]) -- the shape of the buffer as a list of dimensions.

  • space (address_space, optional) -- the target-specific address space of the buffer.

  • strides (List[int], optional) -- the strides of the buffer.

__init__()#

Methods

__init__(name)

Initialize self.