Skip to content

Commit

Permalink
In aie.extras ShapedValue changed from a Class to a function
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx committed Jan 10, 2025
1 parent 740a6a1 commit 2c63e42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/dialects/aie.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ def __init__(self, tile, link_with=None, dynamic_objfifo_lowering=None):
# Create an aie buffer of (shape x datatype) on given tile.
# shape examples: [256], [256, 256], [256, 256,]
# This class hides the BufferOp and instead pretends to be a MemRef
class buffer(BufferOp, ShapedValue):
@ShapedValue
class buffer(BufferOp):
def __init__(self):
raise ValueError("Should never be called")

Expand Down

0 comments on commit 2c63e42

Please sign in to comment.