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 e30dea5 commit a7ad039Copy full SHA for a7ad039
python/shark_turbine/runtime/op_reg/base.py
@@ -618,7 +618,7 @@ def yield_results(self, *results: Value):
618
619
def constant_index(self, i: int) -> Value:
620
"""Builds a constant index value."""
621
- return arith_d.constant(IntegerAttr.get(IndexType.get(), i))
+ return arith_d.constant(IndexType.get(), IntegerAttr.get(IndexType.get(), i))
622
623
624
class FreeFuncKernelBuilder(KernelBuilder):
0 commit comments