task_scheduling.schedule_builder#
- cutlass.experimental.task_scheduling.schedule_builder.schedule(
- fn: Callable[[...], None],
Decorator that traces a schedule function into a
Schedule.- Parameters:
fn (Callable) – Function whose arguments are
MemoryResourceinstances and whose body records resource calls through schedule-builder context managers.- Returns:
Wrapper that accepts concrete resources and returns the captured
Schedule.- Return type:
Callable[…, Schedule]
Notes
The decorated function receives
ResourceProxywrappers for eachMemoryResource. Method calls on the proxies record schedule entries and routing edges.with work_tile_loop(wq):andwith domain_loop(start, end, step):mark the structural boundaries. Plain Python control flow inside the function executes at trace time.