aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-24TFLu reference kernels21.11-rc321.11Kristofer Jonsson
When CORE_SOFTWARE_ACCELERATOR is set to CPU, then the TFLu reference kernels should be used rather than the CMSIS-NN optimized kernels. Change-Id: I09418b2e32d8c1654892bc5caec9e5b80ccd6c9f
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-11-16CMake recipe for tflite-microKristofer Jonsson
Replace the make call to tflite-micro with a CMake recipe that builds the Tensorflow lite micro library. This removes the dependency on make and should allow all core software components to be built with CMake and a common toolchain file. Change-Id: If9f380c3d07a790be37b7cb70d2aef458d585fdb
2021-10-01Revert "Remove workaround of setting CORE_OPTIMIZATION_LEVEL to -Ofast"21.11-rc1Kristofer Jonsson
This reverts commit 236a00d1125267be32d8f745d8d49e3e73251151. Reason for revert: Patch caused regression failures that need to be addressed. Change-Id: I2e79a16b8e5fa61d8b313ad7808cfd8845e4275a
2021-09-29Remove workaround of setting CORE_OPTIMIZATION_LEVEL to -OfastPatrik Laurell
Change-Id: I97d0e8e7000d621193432af7380ae22d2e5a262a Signed-off-by: Anton Moberg <anton.moberg@arm.com>
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-17Update .gitignore to exclude zephyr sub-git21.08-rc2Davide Grohmann
Change-Id: I326fcf3d7c9bcdb4e4d8b5ea1e36660dfe4e5ae7
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-07-13Change OPTIMIZATION_LEVEL to KERNEL and CORE_OPTIMIZATION_LEVEL in ↵Anton Moberg
tflite_micro.cmake Change-Id: I16f71dd3ed072b7a32aecec08c4ce348b671a280
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-28adding ThreadX to rtos CMakeLists.txtliodek01
Change-Id: Id54df3d56e85c995842d5330b6a7b6e8129440ce
2021-06-22Remove map file generationKristofer Jonsson
Remove map file generation from the toolchain file. The name of the target is not known here, so it will not be possible to name the map file after the target. Change-Id: I087eb1983ecf8fb1d5a4575fcaf18ed73a2042cb
2021-06-21Workaround for https://github.com/tensorflow/tflite-micro/issues/199.Jens Elofsson
Change-Id: I35c8179a40b89e78d144813309b7b0e0d8a68285
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-06-09Flatbuffer pathKristofer Jonsson
Add flatbuffer path to TLFu library. Change-Id: Id43e127531e2bc6970d041454c8939af6e91cced
2021-05-31README for the Ethos-U Monitor.21.05Jens Elofsson
Change-Id: I17b9c0d176e1f2532661107381d641c970e63f3c
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-27Fix compiler warnings by redordering class members.Jens Elofsson
Change-Id: I780238c7695a326c088917cdd5b389d279d3d2c7
2021-05-27Add one eventRecordId for each ethosuEventId.Jens Elofsson
Change-Id: I624bf5c4376fd89ffc0b840878fb726c4cb87e4b
2021-05-27Add ethosu_monitor to core_software.21.05-rc3Jens Elofsson
Change-Id: I9423c0c2a8aca738b2788ff5c41e946432188dc3
2021-05-24Fixing compilation warningsKristofer Jonsson
Change-Id: I3a1a361e6e8d40d2ac505b3c8d065c00224f1c2f
2021-05-24[Core Software] Update and remove pmu "v2"-functionsAnton Moberg
NPU PMU interface currently have functions that have been stepped each time a compatibilty breaking changed has been introduced. Old entrypoints have been redefined with macro to use the latest version for backwards compatibility. This series of patches will remove any such functions and macro to unify the interface. Update: All PMU entrypoints to support updated interface Change-Id: I56f47a36dcba66f884e721dddc844b8983aca1dd
2021-05-21Add cmsis-view to .gitignore.Jens Elofsson
Change-Id: I0e12a276007441469aba656b2778f1b12d2acc7b
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-05-05MLBEDSW-4228 Building on Windows21.05-rc221.05-rc1Jonas Ohlsson
Changes to facilitate building on Windows systems. Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com> Change-Id: I40ffad5fbbe0640a1026f6f8a95bd4a1ef0fb68b
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-03-24Add timing adapter driverJonny Svärd
Change-Id: I90e0c7be29acbfc51ac801e343a5f9171152678e
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-23Trademark informationKristofer Jonsson
Updating readme files with trademark information. Change-Id: I9bc488a8d8544ac238dfef69d10522af5bbc0a00
2021-02-23Use ethosu namespace for core interfacePer Åstrand
Change-Id: I832b8d7b502ae501e39f1a795d4192506d47fa55
2021-02-12MLBEDSW-3798 - MultiNPU test freeRTOS configAnton Moberg
Changed: configUSE_TIME_SLICING to 0, because otherwise context-switching between tasks of same priority each interrupt tick will mangle output-log Change-Id: I8aabbd76fa5402c99c27b811222a379298280205
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-03Split cmsis_startup into _startup and _system21.02-rc1Per Åstrand
In order to get better control of the cmsis startup build for secure and nonsecure worlds, the cmsis_startup OBJECT library is split up into two INTERFACE libraries that can be configured and built per executable. Change-Id: I21b6f6af75f9c23e920525ce6c23677f0607745c
2021-02-03Remove ethosu_core_rtosPer Åstrand
Move away from building generic rtos INTERFACE library in favour of using the explict rtos targets for the applications that are using it. Change-Id: I006d7bd302e7b33fa799d32686475e73d4db3182
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-22Replace TAGS in TFLuMåns Nilsson
TAGS is getting deprecated. Instead OPTIMIZED_KERNEL_DIR and CO_PROCESSOR should be used. Change-Id: I769df90bb394d303549fc23ad034274f4a9d1aec
2021-01-13Rename cplusplus files for consistencyPer Åstrand
Change-Id: I908ea337ffb7229a33af3364b5374209c7e9df54
2021-01-12Adapt cmsis build for secure/nonsecure worldsPer Åstrand
Add external include path to get the device specific partion header file to setup SAU as needed by cmsis startup and make sure system isn't build if we are targeting nonsecure world. Change-Id: Ic9a9e380aa2bc41e6d1cd7f71c6713d033065c7a
2020-12-21MLBEDSW-3728 Resolve compiler warningsBhavik Patel
Change-Id: I6245d4fa6cf32c9edb05f52bb07e1d7b6a1c17fe
2020-12-18Build Tensorflow Lite for Microcontrollers with Olympus CPUBhavik Patel
Change-Id: I2733ece00b44e8e81c01328b02ced3d7000ac392