aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/pass_packing.py
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2023-08-08 14:10:17 +0100
committerTim Hall <tim.hall@arm.com>2023-08-08 16:36:20 +0100
commitcd03504cfc29767d33d37b5c587116ab90752d74 (patch)
tree187d75690e7316c2e430c8c81e9f526bd8dc20a1 /ethosu/vela/pass_packing.py
parent4bd28aa1bc8d7dc952c3d4ff523d942540947280 (diff)
downloadethos-u-vela-cd03504cfc29767d33d37b5c587116ab90752d74.tar.gz
MLBEDSW-7689: Document verbose command stream options
- Documented High-Level and register-Level command stream options - Changed High-Level command stream display to show the name of the command - Fixed an issue with some operators not being displayed by the CLI option --verbose-operators - Changed an unneeded print in pass packing to a more useful assertion Change-Id: I9d53f19f4e32d0478209bc964724c27c935f66d6 Signed-off-by: Tim Hall <tim.hall@arm.com>
Diffstat (limited to 'ethosu/vela/pass_packing.py')
-rw-r--r--ethosu/vela/pass_packing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/vela/pass_packing.py b/ethosu/vela/pass_packing.py
index 932f701b..4c733cce 100644
--- a/ethosu/vela/pass_packing.py
+++ b/ethosu/vela/pass_packing.py
@@ -271,7 +271,7 @@ def pack_into_passes(nng, arch, verbose_packing=False):
assert ifm_tensor.purpose == TensorPurpose.FeatureMap
if operation_set is None:
- print("Warning:", curr_op.type, "operation is unknown or unsupported, placing on CPU")
+ assert not curr_op.run_on_npu # operator should have been placed on the CPU
for inp in reversed(curr_op.inputs):
if inp is None: