aboutsummaryrefslogtreecommitdiff
path: root/applications/message_handler/message_handler.hpp
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2022-03-10 11:08:39 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-03-29 15:12:35 +0200
commitac535f0387647b114826e921d23e68787f8a572b (patch)
tree38ae30cadc45fffe81bee654635c24b7b8e25cf6 /applications/message_handler/message_handler.hpp
parent585ce694dbbebfe5ba737fe94888343cb8976ac3 (diff)
downloadethos-u-core-platform-ac535f0387647b114826e921d23e68787f8a572b.tar.gz
Network info
Add message for fetching meta data about built in network models. Change-Id: I757094c20848d4cb018db68b0455297bb03be463
Diffstat (limited to 'applications/message_handler/message_handler.hpp')
-rw-r--r--applications/message_handler/message_handler.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/message_handler/message_handler.hpp b/applications/message_handler/message_handler.hpp
index ee063de..90b1cd2 100644
--- a/applications/message_handler/message_handler.hpp
+++ b/applications/message_handler/message_handler.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2022 Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2022 Arm Limited.
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -81,6 +81,7 @@ struct OutputMessage {
EthosU::ethosu_core_msg_type type;
union {
EthosU::ethosu_core_inference_rsp inference;
+ EthosU::ethosu_core_network_info_rsp networkInfo;
EthosU::ethosu_core_msg_err error;
uint64_t userArg;
} data;
@@ -99,6 +100,7 @@ private:
void sendVersionRsp();
void sendCapabilitiesRsp(uint64_t userArg);
void sendInferenceRsp(EthosU::ethosu_core_inference_rsp &inference);
+ void sendNetworkInfoRsp(EthosU::ethosu_core_network_info_rsp &networkInfo);
void readCapabilties(EthosU::ethosu_core_msg_capabilities_rsp &rsp);
MessageQueue::QueueImpl messageQueue;