aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hall <tim.hall@arm.com>2024-01-16 12:21:13 +0000
committerTim Hall <tim.hall@arm.com>2024-01-26 10:16:18 +0000
commite4d0dbfa29a4a868ee1f0720d64e720d2655d0bc (patch)
treedd70f9b34765028900ac31262eaa5220153d010b
parentc222f8cb5af13d890f0851558873ef6679531550 (diff)
downloadethos-u-vela-e4d0dbfa29a4a868ee1f0720d64e720d2655d0bc.tar.gz
vela: Remove dead code from register command stream
- Removed the unused function get_block_config_for_npu_op() Change-Id: If36e4fe65286c4e13e127473d20971a1b6eaa94b Signed-off-by: Tim Hall <tim.hall@arm.com>
-rw-r--r--ethosu/vela/register_command_stream_generator.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/ethosu/vela/register_command_stream_generator.py b/ethosu/vela/register_command_stream_generator.py
index ec01d3e..e208e8d 100644
--- a/ethosu/vela/register_command_stream_generator.py
+++ b/ethosu/vela/register_command_stream_generator.py
@@ -586,15 +586,6 @@ def generate_shram_registers(
emit.cmd0_with_param(cmd0.NPU_SET_ACC_FORMAT, acc_format_map[arch_block_config.acc_type])
-def get_block_config_for_npu_op(
- arch, npu_op: NpuBlockOperation, npu_block_type: NpuBlockType, is_partkernel: bool, ifm_resampling: resampling_mode
-) -> Optional[ArchitectureBlockConfig]:
- """
- Given npu_op.block_config, returns a corresponding ArchitectureBlockConfig.
- Returns None if the block_config does not fit.
- """
-
-
def get_arch_block_config(
npu_op: NpuBlockOperation, block_traversal: NpuBlockTraversal, arch: ArchitectureFeatures
) -> ArchitectureBlockConfig: