tilelang.language.fill ====================== .. py:module:: tilelang.language.fill .. autoapi-nested-parse:: The language interface for tl programs. Functions --------- .. autoapisummary:: tilelang.language.fill.fill tilelang.language.fill.clear Module Contents --------------- .. py:function:: fill(buffer, value) Fill a buffer or buffer region with a specified value. :param buffer: Either a TVM buffer or buffer region to be filled :param value: The value to fill the buffer with :returns: A TVM intrinsic call that performs the fill operation .. py:function:: clear(buffer) Clear a buffer by filling it with zeros. :param buffer: Either a TVM buffer or a variable that contains a buffer region :returns: A fill operation that sets the buffer contents to zero :raises ValueError: If the buffer variable contains an invalid buffer region