Skip to content

MLBEDSW-10488: Refactor CanRunOnNPU into architecture constraints

Alexander Bengtsson requested to merge MLBEDSW-10488 into main
  • The architecture-query system and OpGroup::CanRunOnNpu were both trying to describe whether an operation could run NPU. This change removes OpGroup::CanRunOnNpu and refactors all checks into the query system. This avoids redundancy and makes it simpler to query HW-functionality anywhere in the compiler.
  • Scheduler-packing and Scheduler-decompose are both updated to use the new query-system. This means that scheduler-decompose should now only try to decompose operations that can certainly map to NPU after decompoisition is done.

Change-Id: If6bcf4e998b2d09045be0d9a38029925a50af93a Signed-off-by: Alexander Bengtsson Alexander.Bengtsson@arm.com

Merge request reports

Loading