You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using build(target = "") certain Operations cannot pass hcl_d.emit_vhls(self.module, buf), with outputs in the form of error: '<name of op>' op is unsupported operation. The list of these operations and the testcase to which they belong is provided in Additional Context below.
To Reproduce
def test_while_basic():
def kernel(A: int32[10]):
i: index = 0
while i < 10:
A[i] = i
i += 1
s = allo.customize(kernel, verbose=True)
print(s.module)
mod = s.build(target = "vhls")
Describe the bug
When using
build(target = "")
certain Operations cannot passhcl_d.emit_vhls(self.module, buf)
, with outputs in the form oferror: '<name of op>' op is unsupported operation.
The list of these operations and the testcase to which they belong is provided in Additional Context below.To Reproduce
Buggy output
Expected behavior
Should output HLS code in the form given in the Allo tutorial.
Additional context
scf.while
: test_while_basic()arith.floordivsi
: test_rhs_binaryop()The text was updated successfully, but these errors were encountered: