IVGCVSW-2911 More Q compatiblity
Changes needed to RequestThread and ArmnnPreparedModel
to compile in the Q environment
Change-Id: Ib072afa1fe6a6a1b0931df79cec76cfac8b21f0c
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
diff --git a/RequestThread.hpp b/RequestThread.hpp
index 53f145b..6706920 100644
--- a/RequestThread.hpp
+++ b/RequestThread.hpp
@@ -42,7 +42,7 @@
std::shared_ptr<std::vector<::android::nn::RunTimePoolInfo>>& memPools,
std::shared_ptr<armnn::InputTensors>& inputTensors,
std::shared_ptr<armnn::OutputTensors>& outputTensors,
- const ::android::sp<IExecutionCallback>& callback);
+ const ::android::sp<V1_0::IExecutionCallback>& callback);
private:
RequestThread(const RequestThread&) = delete;
@@ -55,7 +55,7 @@
std::shared_ptr<std::vector<::android::nn::RunTimePoolInfo>>& memPools,
std::shared_ptr<armnn::InputTensors>& inputTensors,
std::shared_ptr<armnn::OutputTensors>& outputTensors,
- const ::android::sp<IExecutionCallback>& cb)
+ const ::android::sp<V1_0::IExecutionCallback>& cb)
: m_Model(model)
, m_MemPools(memPools)
, m_InputTensors(inputTensors)
@@ -68,7 +68,7 @@
std::shared_ptr<std::vector<::android::nn::RunTimePoolInfo>> m_MemPools;
std::shared_ptr<armnn::InputTensors> m_InputTensors;
std::shared_ptr<armnn::OutputTensors> m_OutputTensors;
- const ::android::sp<IExecutionCallback> m_callback;
+ const ::android::sp<V1_0::IExecutionCallback> m_callback;
};
enum class ThreadMsgType
@@ -104,4 +104,4 @@
std::condition_variable m_Cv;
};
-} // namespace armnn_driver
\ No newline at end of file
+} // namespace armnn_driver