Vela: Rework NPU/DMA dependency insertion (for MLBEDSW-2620)
- This commit removes unnecessary dependency checks and implements
on-demand calculation of the NPU/DMA dependencies.
Signed-off-by: <tim.hall@arm.com>
Change-Id: I85e681d1ab133bd88f64296dc00500f3c188e777
diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py
index 265af42..2e53a69 100644
--- a/ethosu/vela/architecture_features.py
+++ b/ethosu/vela/architecture_features.py
@@ -196,6 +196,9 @@
self.system_config = system_config
self.is_yoda_system = self.accelerator_config in (Accelerator.Yoda_256, Accelerator.Yoda_512)
+ self.max_outstanding_dma = 2 if self.is_yoda_system else 1
+ self.max_outstanding_kernels = 3
+
self.ncores = accel_config.cores
self.ofm_ublock = accel_config.ofm_ublock
self.ifm_ublock = accel_config.ifm_ublock