diff options
author | Tim Hall <tim.hall@arm.com> | 2022-03-03 17:50:52 +0000 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2022-05-17 20:06:24 +0100 |
commit | c1be0873d9e28a21c7873793da896e6dd576292f (patch) | |
tree | 8d8392a7ae2a821e6dbc9f048343f9ccbe9e5828 /ethosu/vela/architecture_features.py | |
parent | 3dae1b6088a469f1073222bf249d17c8cdf39dbf (diff) | |
download | ethos-u-vela-c1be0873d9e28a21c7873793da896e6dd576292f.tar.gz |
MLBEDSW-6271: MLCE: Layer wise Utilization info from Vela
- Added support to print per operator sram usage and performance
information
- Added new CLI option --verbose-performance to control this feature
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I368599b410e5d441d9804871fc51b7a1049d85b3
Diffstat (limited to 'ethosu/vela/architecture_features.py')
-rw-r--r-- | ethosu/vela/architecture_features.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index 08ff260c..679947fc 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -301,6 +301,7 @@ class ArchitectureFeatures: self.num_elem_wise_units = accel_config.elem_units self.num_macs_per_cycle = dpu_min_height * dpu_min_width * dpu_dot_product_width * dpu_min_ofm_channels + assert self.num_macs_per_cycle == accel_config.macs, f"{self.num_macs_per_cycle} != {accel_config.macs}" # Max value in address offsets self.max_address_offset = 1 << axi_port_address_width |