We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051bded commit 91ae9e4Copy full SHA for 91ae9e4
pytimeloop/timeloopfe/v4/arch.py
@@ -523,7 +523,7 @@ def declare_attrs(cls, *args, **kwargs):
523
super().add_attr("block_size", (str, int), None)
524
super().add_attr("cluster_size", (str, int), 1)
525
super().add_attr("width", (str, int))
526
- super().add_attr("depth", (str, int))
+ super().add_attr("depth", (str, int), None)
527
super().add_attr("entries", (str, int), None)
528
super().add_attr("sizeKB", (str, int), None)
529
super().add_attr("reduction_supported", (str, bool), True)
@@ -587,6 +587,8 @@ def __init__(self, *args, **kwargs):
587
]
588
self.decompression_supported: Union[str, bool] = self["decompression_supported"]
589
self.compression_supported: Union[str, bool] = self["compression_supported"]
590
+ if self.depth is None:
591
+ print(f'WARNING: "depth" is not set for storage element {self.name}')
592
593
594
class Nothing(Component):
0 commit comments