We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When attempting to use cc_xls_ir_jit_wrapper w/ https://github.com/google/xls/tree/main/xls/examples/matmul_4x4, the toolchain currently fails to resolve the block IR entrypoint w/ the following error:
cc_xls_ir_jit_wrapper
More than one instance with name: __matmul_4x4__matmul_4x4_0_next
This seems to be due the block IR containing a proc and block w/ the same name:
proc
block
functions: [], procs: [__matmul_4x4__matmul_4x4_0_next, __matmul_4x4__matmul_4x4__matmul_0__node_0_next, __matmul_4x4__matmul_4x4__matmul_0__node_1_next, __matmul_4x4__matmul_4x4__matmul_0__node_2_next, __matmul_4x4__matmul_4x4__matmul_0__node_3_next, __matmul_4x4__matmul_4x4__matmul_0__node_4_next, __matmul_4x4__matmul_4x4__matmul_0__node_5_next, __matmul_4x4__matmul_4x4__matmul_0__node_6_next, __matmul_4x4__matmul_4x4__matmul_0__node_7_next, __matmul_4x4__matmul_4x4__matmul_0__node_8_next, __matmul_4x4__matmul_4x4__matmul_0__node_9_next, __matmul_4x4__matmul_4x4__matmul_0__node_10_next, __matmul_4x4__matmul_4x4__matmul_0__node_11_next, __matmul_4x4__matmul_4x4__matmul_0__node_12_next, __matmul_4x4__matmul_4x4__matmul_0__node_13_next, __matmul_4x4__matmul_4x4__matmul_0__node_14_next, __matmul_4x4__matmul_4x4__matmul_0__node_15_next, __matmul_4x4__matmul_4x4__matmul_0__4_4_next], blocks: [__matmul_4x4__matmul_4x4_0_next]
Expected behavior
Since cc_xls_ir_jit_wrapper also includes a mandatory wrapper_type attr, it should be able to disambiguish and resolve the right entrypoint.
wrapper_type
The text was updated successfully, but these errors were encountered:
Looking at
xls/xls/jit/aot_compiler_main.cc
Lines 60 to 80 in 3a71d29
Lines 258 to 259 in 3a71d29
Line 264 in 3a71d29
Sorry, something went wrong.
proppy
No branches or pull requests
Describe the bug
When attempting to use
cc_xls_ir_jit_wrapper
w/ https://github.com/google/xls/tree/main/xls/examples/matmul_4x4, the toolchain currently fails to resolve the block IR entrypoint w/ the following error:This seems to be due the block IR containing a
proc
andblock
w/ the same name:Expected behavior
Since
cc_xls_ir_jit_wrapper
also includes a mandatorywrapper_type
attr, it should be able to disambiguish and resolve the right entrypoint.The text was updated successfully, but these errors were encountered: