Anton Moberg | 456566d | 2021-03-17 10:19:26 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2021 Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the License); you may |
| 7 | # not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an AS IS BASIS, WITHOUT |
| 14 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | |
Jonathan Strandberg | d2afc51 | 2021-03-19 10:31:18 +0100 | [diff] [blame] | 19 | set(BAREMETAL_PATH "" CACHE PATH "Path to input, output and network for baremetal") |
| 20 | |
| 21 | if (IS_DIRECTORY ${BAREMETAL_PATH}) |
| 22 | ethosu_add_executable_test(baremetal_custom PRIVATE |
| 23 | SOURCES main.cpp) |
| 24 | target_include_directories(baremetal_custom PRIVATE ${BAREMETAL_PATH}) |
| 25 | endif() |
| 26 | |
Anton Moberg | 456566d | 2021-03-17 10:19:26 +0100 | [diff] [blame] | 27 | ethosu_add_executable_test(baremetal_keyword_cnn PRIVATE |
Jens Elofsson | 74eefce | 2021-05-25 13:47:13 +0200 | [diff] [blame^] | 28 | SOURCES main.cpp |
| 29 | LIBRARIES ethosu_monitor) |
Anton Moberg | d121356 | 2021-03-17 15:45:27 +0100 | [diff] [blame] | 30 | target_include_directories(baremetal_keyword_cnn PRIVATE models/keyword_spotting_cnn_small_int8) |
| 31 | |
| 32 | ethosu_add_executable_test(baremetal_keyword_dnn PRIVATE |
Jens Elofsson | 74eefce | 2021-05-25 13:47:13 +0200 | [diff] [blame^] | 33 | SOURCES main.cpp |
| 34 | LIBRARIES ethosu_monitor) |
Anton Moberg | ad2d25e | 2021-03-17 16:06:21 +0100 | [diff] [blame] | 35 | target_include_directories(baremetal_keyword_dnn PRIVATE models/keyword_spotting_dnn_medium_int8) |
| 36 | |
| 37 | ethosu_add_executable_test(baremetal_keyword_ds_dnn PRIVATE |
Jens Elofsson | 74eefce | 2021-05-25 13:47:13 +0200 | [diff] [blame^] | 38 | SOURCES main.cpp |
| 39 | LIBRARIES ethosu_monitor) |
Jonathan Strandberg | d2afc51 | 2021-03-19 10:31:18 +0100 | [diff] [blame] | 40 | target_include_directories(baremetal_keyword_ds_dnn PRIVATE models/keyword_spotting_ds_dnn_large_clustered_int8) |