Age | Commit message (Collapse) | Author |
|
Designated initializer is not part of the C++ standard until C++20 and
requires a compiler extension to work in earlier versions. To ensure the
message_handler_openamp can be compiled with compilers without this
extension the usage has been removed.
Change-Id: I97c90df6691302cc470b8538f515a1b1ceb385b9
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
Currently the message_handler_openamp overwrites the PMU values in the
response message each time operators are offloaded the NPU in an
inference request. To instead get the total PMU values for all the times
the NPU was used during the inference, the PMU values are now
accumulated instead.
Change-Id: I7fb8697e441b362f2f6da8a26536ba51d17c6b4c
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
Update example applications to support new core_driver inference
timeout feature.
Change-Id: Ib7283421aa8db9a3b5f1dd6d1bd44803491f0399
Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
|
|
The message_handler_openamp application now uses the NPU profiler to use
a common way to collect profiling data and report it.
Change-Id: Ia2a860c790facc5193aca065636c58e1b5bbef22
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
Address translation for inference buffers and carveout areas have been
removed because the Linux Kernel NPU driver now provides device
addresses for them.
Change-Id: I71a133ba5ecbb94aa2c225d259e75229b6dbce5b
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
To avoid having to use a hardcoded memory map to translate between the
Linux physical addresses and device addresses, a new entry type has been
added to the resource table where the host can provide the memory map to
use for the translation.
Change-Id: I668bba3aeac27c358647c969c5504326e1c91d24
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
When the mailbox interrupt is triggered, the mailbox interrupt handler
will invoke the remote processor mailbox callback, which in turn will
use FreeRTOS's xSemaphoreGiveFromISR to wake up a task to handle the new
message.
Until now, the interrupt priority for the mailbox interrupt has been
left at its default value but this stopped working since FreeRTOS kernel
V10.6.0 because since that version, the ISR functions will only work
from an interrupt with the same or lower priority than
configMAX_SYSCALL_INTERRUPT_PRIORITY in the FreeRTOS configuration.
Therefore, a priority is now set for the mailbox interrupt that is
compatible with the FreeRTOS configuration used.
Change-Id: I0186fdc9951dfa73a2692ba95530094abb0e4d4a
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
|
|
Patch adds an optional trace resource entry which can be enabled via
build flags. This patch also changes the resource table into a plain C
struct, which allows for link time assignment of trace resource address
and size.
Change-Id: I6ca3260eb9b13a9bf511c95cd54c57d554c0d997
|
|
Change-Id: I47fdf29a50440c82fd9ccf111a846bf87e8a9e29
|
|
The TFLM arena size was incorrectly surrounded by sizeof(), which
caused the arena size to be allocated to only 4 bytes.
Change-Id: Iea8c76e0ce434973c9d0a7f696cfb51af49a48fd
|
|
The 'message handler' firmware was based on a custom interface between
Linux and the firmware. Because the kernel driver has been converted
into a rpmsg driver, the 'message handler' application has been updated
into an OpenAMP based firmware.
Change-Id: I1339180c4f53cbad42501a2827863b7b49561ff4
|