aboutsummaryrefslogtreecommitdiff
path: root/applications
AgeCommit message (Collapse)Author
2021-11-18Remove new line from log messages21.11-rc2Kristofer Jonsson
Remove new line from log messages to allow the log makros to format the output. Removing 'message process'. It has been replaced by the 'message handler' application in core platform. Change-Id: Ie97063680c25a33844a8e52e7d39f042da0493e1
2021-09-09Update call to MicroInterpreter to be in line with upstreamJens Elofsson
Change-Id: Ib69b8c0a9af482408f2108ea13c682afabb9f0c7
2021-08-30Exporting define for layer by layer profiler21.08-rc321.08Kristofer Jonsson
Libraries that link the layer_by_layer_profiler interface library will also get the LAYER_BY_LAYER_PROFILE define appending to the build arguments. This allows the preprocessor to select which profiler to use. Change-Id: I85fec66d2dd9949fd7fe395fb44e49bda1539925
2021-08-17Layer-by-layer logging bugAnton Moberg
The tflu_debug_log should be controlled by tflu and not the core_software. Thus changing LOG_DEBUG -> LOG shifts control from core_software to tflu. Change-Id: I3507366cee8c971b1242434ea73f405a8abc5f83
2021-08-16Fix wrong output data json format when compiling with GCC21.08-rc1Davide Grohmann
This change works around an issue when compiling with GCC where by printing only a '\n' the produced global output is wrong. What happens is that new lines are actually printed before the content in the precedent fprintf calls. Hence the generated json is unparsable. Note also that replacing the LOG macros with direct calls to fprintf does _not_ solve the issue. Change-Id: I2d97703cbe7703aae94def1943e2ac693945ab31
2021-08-12Do not expose device specific info in capabilitiesDavide Grohmann
Change-Id: Id43be4f899610e9b0ef96790fbff330f3c8537c1
2021-07-15Improved Logging - Core SoftwareAnton Moberg
Logging macros: Added ethosu_logging.h as a lib, containing logging macros controlled by a parameter ETHOSU_LOG_SEVERITY set in core_software CMakeLists.txt Updated inference_process: Updated inference_process to include ethosu_logging and use the logging macros rather than printf() Updated message_process: Updated message_process to include ethosu_logging and use the logging macros rather than printf() Updated ethosu_monitor: Updated ethosu_monitor to include ethosu_logging and use the logging macros rather than printf() Updated layer_by_layer_profiler: Updated layer_by_layer_profiler to include ethosu_logging and use the logging macros rather than printf() Updated mhu_v2: Updated mhu_v2 to include ethosu_logging and use the logging macros rather than printf() Change-Id: I5d6fd80b7645b3e0af5b494eea6dbb7755f02122
2021-06-29Removing profiler defineKristofer Jonsson
Removing define that is no longer needed now that the profiler classes have been implemented. Updating .gitignore. Change-Id: Idc1eab268a4f4d1ff9460671f8547c1fcb209f82
2021-06-15Switch to the new tflite-micro repo.Jens Elofsson
Change-Id: I19b806e94207580ab548e8cd4ddada32debf0639
2021-06-10Add support for fetching ethosu capabilitiesDavide Grohmann
Change-Id: I5507b42a66649ab04f7a5932777830d105b3123b
2021-05-27Add Event Recorder ProfilingJens Elofsson
* Add event recorded profiling to ethosu_profiler. * Rename ethosu_profiler to layer_by_layer_profiler. Change-Id: Ie39c29845b2d1eb6d9d72e3fce68bf373e9dc888
2021-05-21Remove the PMU event register handling from EthosuProfiler.Jens Elofsson
Change-Id: I8d303043806e081238067e5773e4d4125bc64cfa
2021-05-21Add EthosuProfiler to perform layer-by-layer profiling on Ethos-U.Jens Elofsson
Change-Id: Idae34fd8ab6b17b0bc21db658fff135a5ddf5461
2021-03-31Update license headersAnton Moberg
Update all license headers to the correct years Change-Id: I638a854b39b4afe8db6a4a76ca6dcb89c126e3c1
2021-03-26Handle empty pmuConfigs in InferenceJob for runJobPer Åstrand
Verify that the size of the pmueventconfig argument is the expected size before accessing the vector and set up the pmu counters to be ETHOSU_PMU_NO_EVENT if it's not. Change-Id: Icfcf5255e7e99fd3bcae6535d54f8c18e89e24f2
2021-02-25Fix misleading log messages21.02Per Åstrand
Change-Id: I2f0a7c9ec9e59b2a076bfd873e5a997189c67e11
2021-02-24Tensorflow rebaseKristofer Jonsson
The interface to the MicroProfiler has changed in the latest revision of TFLu. Updating core software to fix the compilation errors. Change-Id: Ief8cc17859c9abcb9455110c660c0de56d938fe5
2021-02-23Assembly supportKristofer Jonsson
Update the Arm Clang toolchain file to support assembly files. Removing cmsis_core dependency. Applications that depend on CMSIS should add that dependency manually. Change-Id: I42d68e6734acc88aef8f9af124b5e76079b839b5
2021-02-23Use ethosu namespace for core interfacePer Åstrand
Change-Id: I832b8d7b502ae501e39f1a795d4192506d47fa55
2021-02-12core_software - Move TensorArena21.02-rc2Anton Moberg
Moved TensorArena in inference_process.ccp to application level. InferenceProcess class now takes TensorArena pointer and TensorArenaSize as parameters. Needs to be set by application before runJob() is called. Change-Id: I530b96039868305fa903ae7f93419d9d00f9c16f
2021-02-01Missing cache maintenanceKristofer Jonsson
Add missing cache invalidate before queue header is checked for available messages. Change-Id: Iba1238dddcf6b9771d17c9b9edab3f7594ee59af
2021-01-27Improve mailbox msg handling for MessageProcessJonny Svärd
Send/verify 32b message magic Add version response support In case an error occurs with the messaging, send an error response and effectively reset/empty the queue. Add support for error response Fix a couple of bugs where mailbox interrupts were sent even when a previous error occured. Change-Id: I6a1fdefd0d6eb68c9b22123c156ff820ce9c0399
2021-01-13Rename cplusplus files for consistencyPer Åstrand
Change-Id: I908ea337ffb7229a33af3364b5374209c7e9df54
2020-12-21MLBEDSW-3728 Resolve compiler warningsBhavik Patel
Change-Id: I6245d4fa6cf32c9edb05f52bb07e1d7b6a1c17fe
2020-12-10Cache clean message queueKristofer Jonsson
If the data cache is enabled before the queue constructor is called, then the queue must be cleaned. Change-Id: I29ec2b40c225065c24dc7574275482117e88cff8
2020-12-10Specify size for pmuEventConfig vectorJonny Svärd
Change-Id: Ia81c4808e0372de046cc8cfcdd67512fe67a3dbb
2020-12-08MLBEDSW-3269 Add pmu counters for inference_processBhavik Patel
Change-Id: I6594acc228fe8048f56cb96ac7846a87491eed38
2020-11-27Remove debug prints20.11Kristofer Jonsson
Change-Id: Ib0be731c8c42f3e1ca4c8bf53d8b226e9757eecf
2020-11-26Add basic MHU driversJonny Svärd
Add MHUv2 doorbell driver implementation Add MHU doorbell driver for Juno board Add a dummy MHU driver Add some comments to the mailbox header file Change-Id: I0950a7ca3afeec88ca691ca2486022dfbb3319b8
2020-11-25Improved cache maintenanceKristofer Jonsson
Invalidating and cleaning buffers exchanged between Core and remote CPU. Change-Id: Icd9ce6c916422a6bbcdd42e31651a622240d0ce4
2020-11-19Improved cache maintenance20.11-rc2Kristofer Jonsson
Use invalidate by address to avoid invalidating the data segment loosing data. Change-Id: Ied36d881d19e56ea760b8775657b0e924e129b31
2020-11-09Fix profiling problem with no PMU counters20.11-rc1Måns Nilsson
Change-Id: Ie981df16056ea0b72ed60f07bba9f39a7cb9a23f
2020-10-12Remove dependency on cmsis_devicePer Åstrand
The applications doesn't need the cmsis device dependency. Remove it and add the explicit headers that are required to access assembler defines. Change-Id: I959b60e0ca150a75145319df207cfeb6361f0022
2020-10-09Add a Mailbox interfaceJonny Svärd
Change-Id: If68e70709c496849cb781af5f7288fa3f7ddcdb5
2020-10-06Refactor code to avoid typepunning tricksPer Åstrand
Change-Id: Iecefa233561ddbef3e04f395f12fb56cd76ffd42
2020-09-25Avoid shadowing class members when initializingPer Åstrand
Change-Id: I47eae5334d2cfa5c6e17f820095dbadebce9a1e8
2020-09-25Move to inttypes format specifiers for printfPer Åstrand
Change-Id: I799add461ab0db5b86c78a440937d722620e6d3b
2020-09-15Support inferences with multiple inputs and outputsKristofer Jonsson
Update inference process apis to support inferences with multiple inputs and multiple outputs. Update message process to handle new inference request message with an array of input- and output buffers. Change-Id: Ide0897385a1d829f58edace79140d01d8e3b85a3
2020-09-03Move fast memory area to core driverKristofer Jonsson
Change-Id: Icaa9caeace87ea14adb0f92254c9fc02b25d642e
2020-09-01Moving message- and inference processes to core software20.08Kristofer Jonsson
Change-Id: I76e94440402d58848116d06ff3fd1ed2000ac505