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
print_entry
print_entry(prefix: StringSlice[StaticConstantOrigin], idx: Int, name: StringSlice[StaticConstantOrigin], e: ScheduleEntry)
Prints one ScheduleEntry on a single line, with the caller's pre-resolved tag name.
Format:
Callers resolve the tag name themselves (kernel tags are schedule-specific):
var name = (
my_op_name(e.op.tag) if e.op.tag < 128
else default_op_name(e.op.tag)
)
print_entry("KRN ", i, name, e)Args:
- βprefix (
StringSlice[StaticConstantOrigin]): Short label printed before the index (e.g. "KRN"). - βidx (
Int): Index of the entry within its phase. - βname (
StringSlice[StaticConstantOrigin]): Display name fore.op.tag, resolved by the caller. - βe (
ScheduleEntry): The schedule entry to print.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!