aboutsummaryrefslogtreecommitdiff
path: root/applications/message_process/include/message_process.hpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2020-09-10 13:26:41 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2020-09-15 13:27:50 +0200
commit72fa50bcf362643431c39642e5af30781714b2fc (patch)
tree4c8234b1f5a76d898991379fcdd6441eff3d18b0 /applications/message_process/include/message_process.hpp
parent98e379c83dd24619752e72e7aefdc15484813652 (diff)
downloadethos-u-core-software-72fa50bcf362643431c39642e5af30781714b2fc.tar.gz
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
Diffstat (limited to 'applications/message_process/include/message_process.hpp')
-rw-r--r--applications/message_process/include/message_process.hpp3
1 files changed, 2 insertions, 1 deletions
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 <cstddef>
#include <cstdio>
+#include <vector>
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<InferenceProcess::DataPtr> &ofm, bool failed);
private:
QueueImpl queueIn;