diff options
author | James Conroy <james.conroy@arm.com> | 2019-11-01 15:21:48 +0000 |
---|---|---|
committer | James Conroy <james.conroy@arm.com> | 2019-11-12 18:51:20 +0000 |
commit | 663c1849b2c359e6d898a763fff2ef013b55a459 (patch) | |
tree | b6212f72e8ca4175d5f0a93210220807460cb727 /src/backends/cl/ClContextControl.cpp | |
parent | d8df0260ced49a2796ff70e96284cf00eb316bcc (diff) | |
download | armnn-663c1849b2c359e6d898a763fff2ef013b55a459.tar.gz |
IVGCVSW-4051 Update ACL pin to 94e0cf960ea6116eb57fa88d9b951f859b52c602
* Add is_initalised() check to CLScheduler in
ClContextControl.
* Now use CLDepthwiseConvolutionLayer instead of
CLDepthwiseConvolutionLayer3x3.
* Now use NEDepthwiseConvolutionLayer instead of
NEDepthwiseConvolutionLayerOptimized.
!android-nn-driver:2212
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I509af65315a4322dc820a5cc1bbd36ed6999b4a7
Diffstat (limited to 'src/backends/cl/ClContextControl.cpp')
-rw-r--r-- | src/backends/cl/ClContextControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/cl/ClContextControl.cpp b/src/backends/cl/ClContextControl.cpp index 2ffece4ac3..7013b8a4f8 100644 --- a/src/backends/cl/ClContextControl.cpp +++ b/src/backends/cl/ClContextControl.cpp @@ -104,7 +104,7 @@ void ClContextControl::DoLoadOpenClRuntime(bool useTunedParameters) cl::Context context; cl::CommandQueue commandQueue; - if (arm_compute::CLScheduler::get().context()() != NULL) + if (arm_compute::CLScheduler::get().is_initialised() && arm_compute::CLScheduler::get().context()() != NULL) { // Wait for all queued CL requests to finish before reinitialising it. arm_compute::CLScheduler::get().sync(); |