IVGCVSW-3882 Update ACL pin
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>
Tue, 1 Oct 2019 10:32:10 +0000 (11:32 +0100)
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>
Tue, 1 Oct 2019 15:50:00 +0000 (15:50 +0000)
 * Update ACL pin to include change of ArgMinMax NEON/CL output type to Signed32

!android-nn-driver:2013

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I2a0c80e0557f619a213790027efca8b84bf6e58a

scripts/get_compute_library.sh
src/backends/aclCommon/BaseMemoryManager.cpp
src/backends/aclCommon/BaseMemoryManager.hpp
src/backends/cl/ClTensorHandle.hpp

index fcb8855..1649e3e 100755 (executable)
@@ -10,7 +10,7 @@ CMD=$( basename $0 )
 #DEFAULT_CLFRAMEWORKREVISION="branches/arm_compute_19_08" # Release 19.08
 #
 # For pinning to a revision use this:
-DEFAULT_CLFRAMEWORKREVISION="8d5dd867c32fc31f635fdc58783c29a38a99ebb7" #COMPMID-2659: Activation.SQRT Failure on NEON
+DEFAULT_CLFRAMEWORKREVISION="5c4a8e96460eb83a6caef1c69ea5cbb4893858d7" #COMPMID-2592 Create a new kernel for CLPad with SYMMETRIC and REFLECT 
 
 usage() {
     echo "Usage: $CMD (Use the default clframework SHA)"
index 7c06ec5..844fbcd 100644 (file)
@@ -101,7 +101,7 @@ NeonMemoryManager::CreateMemoryGroup(const std::shared_ptr<arm_compute::MemoryMa
 std::shared_ptr<arm_compute::IMemoryGroup>
 ClMemoryManager::CreateMemoryGroup(const std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager)
 {
-    return std::make_shared<arm_compute::CLMemoryGroup>(memoryManager);
+    return std::make_shared<arm_compute::MemoryGroup>(memoryManager);
 }
 #endif
 
index b8d1922..adef8bc 100644 (file)
@@ -7,14 +7,10 @@
 #include <backendsCommon/IMemoryManager.hpp>
 #include <backendsCommon/WorkloadFactory.hpp>
 
-#if defined(ARMCOMPUTENEON_ENABLED)
+#if defined(ARMCOMPUTENEON_ENABLED) || defined(ARMCOMPUTECL_ENABLED)
 #include <arm_compute/runtime/MemoryGroup.h>
 #endif
 
-#if defined(ARMCOMPUTECL_ENABLED)
-#include <arm_compute/runtime/CL/CLMemoryGroup.h>
-#endif
-
 #if defined(ARMCOMPUTENEON_ENABLED) || defined(ARMCOMPUTECL_ENABLED)
 #include <arm_compute/runtime/IAllocator.h>
 #include <arm_compute/runtime/IMemoryGroup.h>
index d08b79f..f5583c0 100644 (file)
@@ -12,8 +12,8 @@
 
 #include <arm_compute/runtime/CL/CLTensor.h>
 #include <arm_compute/runtime/CL/CLSubTensor.h>
-#include <arm_compute/runtime/CL/CLMemoryGroup.h>
 #include <arm_compute/runtime/IMemoryGroup.h>
+#include <arm_compute/runtime/MemoryGroup.h>
 #include <arm_compute/core/TensorShape.h>
 #include <arm_compute/core/Coordinates.h>
 
@@ -72,7 +72,7 @@ public:
 
     virtual void SetMemoryGroup(const std::shared_ptr<arm_compute::IMemoryGroup>& memoryGroup) override
     {
-        m_MemoryGroup = boost::polymorphic_pointer_downcast<arm_compute::CLMemoryGroup>(memoryGroup);
+        m_MemoryGroup = boost::polymorphic_pointer_downcast<arm_compute::MemoryGroup>(memoryGroup);
     }
 
     TensorShape GetStrides() const override
@@ -151,7 +151,7 @@ private:
     }
 
     arm_compute::CLTensor m_Tensor;
-    std::shared_ptr<arm_compute::CLMemoryGroup> m_MemoryGroup;
+    std::shared_ptr<arm_compute::MemoryGroup> m_MemoryGroup;
 };
 
 class ClSubTensorHandle : public IClTensorHandle