diff options
author | Annie Tallund <annie.tallund@arm.com> | 2022-12-14 15:55:19 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-08 15:17:12 +0000 |
commit | 09ecc5c8acb758e8def33155feb746a34dd7b560 (patch) | |
tree | 65c39a7f7929b745b9c5a31ab48bb4c6e97cb3ea /src/mlia/resources/target_profiles | |
parent | 6fbcffb4ee039438a409fbc92e38fa5d1d118833 (diff) | |
download | mlia-09ecc5c8acb758e8def33155feb746a34dd7b560.tar.gz |
MLIA-590 Support path to custom target profiles
- Start using TOML format for target profile
- Add support for loading custom target profile files
Change-Id: I6be019d4341e93115440ccdbdb6dafdc1c85b966
Diffstat (limited to 'src/mlia/resources/target_profiles')
6 files changed, 60 insertions, 0 deletions
diff --git a/src/mlia/resources/target_profiles/cortex-a.toml b/src/mlia/resources/target_profiles/cortex-a.toml new file mode 100644 index 0000000..9de9cee --- /dev/null +++ b/src/mlia/resources/target_profiles/cortex-a.toml @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="cortex-a" diff --git a/src/mlia/resources/target_profiles/ethos-u55-128.toml b/src/mlia/resources/target_profiles/ethos-u55-128.toml new file mode 100644 index 0000000..71c6ec6 --- /dev/null +++ b/src/mlia/resources/target_profiles/ethos-u55-128.toml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="ethos-u55" + +# Number of MACs [32, 64, 128, 256] +mac=128 + +# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM] +memory_mode="Shared_Sram" + +# System configuration +system_config="Ethos_U55_High_End_Embedded" diff --git a/src/mlia/resources/target_profiles/ethos-u55-256.toml b/src/mlia/resources/target_profiles/ethos-u55-256.toml new file mode 100644 index 0000000..f44cdfe --- /dev/null +++ b/src/mlia/resources/target_profiles/ethos-u55-256.toml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="ethos-u55" + +# Number of MACs [32, 64, 128, 256] +mac=256 + +# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM] +memory_mode="Shared_Sram" + +# System configuration +system_config="Ethos_U55_High_End_Embedded" diff --git a/src/mlia/resources/target_profiles/ethos-u65-256.toml b/src/mlia/resources/target_profiles/ethos-u65-256.toml new file mode 100644 index 0000000..078f60a --- /dev/null +++ b/src/mlia/resources/target_profiles/ethos-u65-256.toml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="ethos-u65" + +# Number of MACs [256, 512] +mac=256 + +# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM] +memory_mode="Dedicated_Sram" + +# System configuration +system_config="Ethos_U65_High_End" diff --git a/src/mlia/resources/target_profiles/ethos-u65-512.toml b/src/mlia/resources/target_profiles/ethos-u65-512.toml new file mode 100644 index 0000000..6d32e63 --- /dev/null +++ b/src/mlia/resources/target_profiles/ethos-u65-512.toml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="ethos-u65" + +# Number of MACs [256, 512] +mac=512 + +# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM] +memory_mode="Dedicated_Sram" + +# System configuration +system_config="Ethos_U65_High_End" diff --git a/src/mlia/resources/target_profiles/tosa.toml b/src/mlia/resources/target_profiles/tosa.toml new file mode 100644 index 0000000..fb179ab --- /dev/null +++ b/src/mlia/resources/target_profiles/tosa.toml @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates. +# SPDX-License-Identifier: Apache-2.0 + +target="tosa" |