File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -367,28 +367,13 @@ class TransientBuffer(VariableBuffer):
367367 """
368368
369369 def __init__ (self , name : str = '' , size = 0 ):
370- self .name = name
371- self .size = size #: int: Total BYTE size of this TransientBuffer
372-
373- # Do not override - Should be written in the parsing passes
374- self ._users = []
370+ super ().__init__ (name , shape = (size ,))
375371
376372 # Do not override - Should be written in the parsing passes
377373 self ._type : Type [Pointer ] = PointerClass (VoidType )
378-
379- # Do not override - Should be written in the deployment passes
380- self ._live = False
381-
382- # Do not override - Set in Templates depending on platform
383- self ._deploy = True
384-
385- self .is_input : bool = False
386- self .is_output : bool = False
387-
388- self .alias_of : List [str ] = []
374+ self .size = size
389375
390376 def __eq__ (self , other ):
391-
392377 ret = all ([self .name == other .name , self .size == other .size ])
393378 return ret
394379
You can’t perform that action at this time.
0 commit comments