Skip to content

Commit

Permalink
Removing affinity from stream.resource.size.
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanik committed May 7, 2024
1 parent 1496270 commit 6e76f28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/src/iree/compiler/Dialect/Stream/IR/StreamOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def Stream_ResourceDeallocaOp : Stream_Op<"resource.dealloca", [
}

def Stream_ResourceSizeOp : Stream_PureOp<"resource.size", [
Stream_AffinityOp,
Util_SizeAwareOp,
]> {
let summary = [{returns the size of the resource storage in bytes}];
Expand All @@ -276,7 +275,6 @@ def Stream_ResourceSizeOp : Stream_PureOp<"resource.size", [
);

let assemblyFormat = [{
(`on` `(` $affinity^ `)`)?
$operand
attr-dict `:` type($operand)
}];
Expand Down

0 comments on commit 6e76f28

Please sign in to comment.