From 72fa50bcf362643431c39642e5af30781714b2fc Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Thu, 10 Sep 2020 13:26:41 +0200 Subject: Support inferences with multiple inputs and outputs 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 --- applications/message_process/include/message_process.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'applications/message_process/include') diff --git a/applications/message_process/include/message_process.hpp b/applications/message_process/include/message_process.hpp index 8044f7c..51f474d 100644 --- a/applications/message_process/include/message_process.hpp +++ b/applications/message_process/include/message_process.hpp @@ -24,6 +24,7 @@ #include #include +#include namespace MessageProcess { @@ -77,7 +78,7 @@ public: void handleIrq(); bool handleMessage(); void sendPong(); - void sendInferenceRsp(uint64_t userArg, size_t ofmSize, bool failed); + void sendInferenceRsp(uint64_t userArg, std::vector &ofm, bool failed); private: QueueImpl queueIn; -- cgit v1.2.1