Skip to content

Commit

Permalink
Fix for API drift
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Jan 31, 2024
1 parent e30dea5 commit a7ad039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/shark_turbine/runtime/op_reg/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def yield_results(self, *results: Value):

def constant_index(self, i: int) -> Value:
"""Builds a constant index value."""
return arith_d.constant(IntegerAttr.get(IndexType.get(), i))
return arith_d.constant(IndexType.get(), IntegerAttr.get(IndexType.get(), i))


class FreeFuncKernelBuilder(KernelBuilder):
Expand Down

0 comments on commit a7ad039

Please sign in to comment.