IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

is_valid_epilogue

def is_valid_epilogue[T: AnyType]() -> Bool

Whether T is a real epilogue rather than a null sentinel.

A kernel that accepts a TileOperation/TileConsumer type parameter (defaulting to NullTileOperation/NullTileConsumer) uses this in a comptime if to elide the epilogue call when no epilogue was bound.

Parameters:

  • T (AnyType): The epilogue type to test (a TileOperation or TileConsumer).

Returns:

Bool: False iff T is one of the epilogue null sentinels.

Was this page helpful?