From 2c63e42d93f2f29e677174b5f68fbadfcf9a28f0 Mon Sep 17 00:00:00 2001 From: erwei-xilinx Date: Thu, 9 Jan 2025 22:49:54 -0800 Subject: [PATCH] In aie.extras ShapedValue changed from a Class to a function --- python/dialects/aie.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/dialects/aie.py b/python/dialects/aie.py index e8f5bf5156..1e70673480 100644 --- a/python/dialects/aie.py +++ b/python/dialects/aie.py @@ -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")