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.cpp b/RequestThread.cpp
index 4731489..bc1eccc 100644
--- a/RequestThread.cpp
+++ b/RequestThread.cpp
@@ -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>& callback)
+ const ::android::sp<V1_0::IExecutionCallback>& callback)
{
ALOGV("RequestThread::PostMsg(...)");
auto data = std::make_shared<AsyncExecuteData>(model,
@@ -141,4 +141,4 @@
template class RequestThread<hal_1_1::HalPolicy>;
#endif
-} // namespace armnn_driver
\ No newline at end of file
+} // namespace armnn_driver