Closed zzzDavid closed 1 year ago
Related test: mlir/test_dsl_def.py::test_module_declarative_compute_at
mlir/test_dsl_def.py::test_module_declarative_compute_at
@hcl.def_([a.shape, b.shape, c.shape]) def add(a, b, c): d = hcl.compute(a.shape, lambda *x: a[x] + b[x], "d") hcl.update(c, lambda *x: d[x] + 1, "u") # this stage `u` has an empty axis list
Fixed by cornell-zhang/heterocl@47516b0353c4988572c73514575bb12c6b4449ca
Related test:
mlir/test_dsl_def.py::test_module_declarative_compute_at