Skip to content

Commit

Permalink
Fix name for stream affinity (#331)
Browse files Browse the repository at this point in the history
Change from attr name from `iree.abi.affinity` to `stream.affinity`
  • Loading branch information
rsuderman authored Dec 13, 2024
1 parent 4fcd272 commit ebc0fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iree/turbine/aot/support/ir_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def create_tensor_global(
if attrs.mutable:
ir_attrs["is_mutable"] = UnitAttr.get()
if device:
ir_attrs["iree.abi.affinity"] = Attribute.parse(
ir_attrs["stream.affinity"] = Attribute.parse(
f"#hal.device.promise<@__device_{device.ordinal}>"
)
if external:
Expand Down

0 comments on commit ebc0fa4

Please sign in to comment.