We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a25818 commit 4fb023fCopy full SHA for 4fb023f
python/examples/mlir/compile_and_run.py
@@ -104,7 +104,7 @@ def create_schedule(ctx: ir.Context) -> ir.Module:
104
return schedule
105
106
107
-def apply_schedule(kernel: ir.Module, schedule: ir.Module) -> ir.Module:
+def apply_schedule(kernel: ir.Module, schedule: ir.Module) -> None:
108
"""
109
Apply transformation schedule to a kernel module.
110
The kernel is modified in-place.
@@ -135,6 +135,7 @@ def main():
135
ctx = ir.Context()
136
kernel = create_kernel(ctx)
137
schedule = create_schedule(ctx)
138
+
139
# Lower the kernel to LLVM dialect.
140
apply_schedule(kernel, schedule)
141
0 commit comments