diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2019-05-03 22:54:36 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-05-07 08:24:25 +0000 |
commit | 9e80cd2195e64902951c3207b0d2aa82fe77c61f (patch) | |
tree | 659baacd57a99854817f5556224ee44a00beaff9 /RequestThread.hpp | |
parent | 912b36224f19952663ebd3edc2a69d9031662fd1 (diff) | |
download | android-nn-driver-9e80cd2195e64902951c3207b0d2aa82fe77c61f.tar.gz |
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>
Diffstat (limited to 'RequestThread.hpp')
-rw-r--r-- | RequestThread.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/RequestThread.hpp b/RequestThread.hpp index 53f145b4..67069205 100644 --- a/RequestThread.hpp +++ b/RequestThread.hpp @@ -42,7 +42,7 @@ public: 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 @@ private: 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 @@ private: 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 @@ private: std::condition_variable m_Cv; }; -} // namespace armnn_driver
\ No newline at end of file +} // namespace armnn_driver |