diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2023-03-17 10:40:45 +0000 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2023-03-17 11:22:53 +0000 |
commit | 1bd434e1d618b6222968202531e36a922c7c44f7 (patch) | |
tree | 267e14ad03d0f61a9cfb7055c12ceb56fa65f9cc /source | |
parent | 26bc923b15be6d1a1788f5afb26241b6fb89a718 (diff) | |
download | ml-embedded-evaluation-kit-1bd434e1d618b6222968202531e36a922c7c44f7.tar.gz |
MLECO-3842, MLECO-3801, MLECO-3899: Minor improvements
Some minor improvements in this patch:
* Added notes on troubleshooting WSL2 build issues.
* Fixed a stray guard for MPS3_PLATFORM from noise reduction
use-case.
* The default build script `build_default.py` will now return
an error code to the calling process if it fails.
Change-Id: I4557a402646fdf903b2cb043bf68d5d0b0d12972
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'source')
-rw-r--r-- | source/use_case/noise_reduction/src/MainLoop.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/use_case/noise_reduction/src/MainLoop.cc b/source/use_case/noise_reduction/src/MainLoop.cc index ae160be..3eef94c 100644 --- a/source/use_case/noise_reduction/src/MainLoop.cc +++ b/source/use_case/noise_reduction/src/MainLoop.cc @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com> + * SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -92,7 +92,7 @@ void main_loop() caseContext.Set<arm::app::RNNoiseModel&>("model", model); SetAppCtxClipIdx(caseContext, 0); -#if defined(MEM_DUMP_BASE_ADDR) && defined(MPS3_PLATFORM) +#if defined(MEM_DUMP_BASE_ADDR) /* For this use case, for valid targets, we dump contents * of the output tensor to a certain location in memory to * allow offline tools to pick this data up. */ @@ -102,7 +102,8 @@ void main_loop() caseContext.Set<size_t>("MEM_DUMP_LEN", memDumpMaxLen); caseContext.Set<uint8_t*>("MEM_DUMP_BASE_ADDR", memDumpBaseAddr); caseContext.Set<size_t*>("MEM_DUMP_BYTE_WRITTEN", &memDumpBytesWritten); -#endif /* defined(MEM_DUMP_BASE_ADDR) && defined(MPS3_PLATFORM) */ +#endif /* defined(MEM_DUMP_BASE_ADDR) */ + /* Loop. */ do { int menuOption = MENU_OPT_RUN_INF_NEXT; |