diff options
author | James Conroy <james.conroy@arm.com> | 2019-09-19 17:00:31 +0100 |
---|---|---|
committer | James Conroy <james.conroy@arm.com> | 2019-11-13 12:17:48 +0000 |
commit | 2dc0572f4d9f28b2e0c38b8ff183b3f7bd9900da (patch) | |
tree | 206e34307dd62cfdfe8d1677f3e238658119b1e0 /src/backends/cl/ClTensorHandle.hpp | |
parent | 663c1849b2c359e6d898a763fff2ef013b55a459 (diff) | |
download | armnn-2dc0572f4d9f28b2e0c38b8ff183b3f7bd9900da.tar.gz |
IVGCVSW-3695 Add CL ArgMinMax workload
* Also enabled copy to/from CL for Signed32.
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I0113182891f9767de73f04dcd81252c84c996eda
Diffstat (limited to 'src/backends/cl/ClTensorHandle.hpp')
-rw-r--r-- | src/backends/cl/ClTensorHandle.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backends/cl/ClTensorHandle.hpp b/src/backends/cl/ClTensorHandle.hpp index f5583c0b97..2423a8bbcb 100644 --- a/src/backends/cl/ClTensorHandle.hpp +++ b/src/backends/cl/ClTensorHandle.hpp @@ -110,6 +110,10 @@ private: armcomputetensorutils::CopyArmComputeITensorData(this->GetTensor(), static_cast<int16_t*>(memory)); break; + case arm_compute::DataType::S32: + armcomputetensorutils::CopyArmComputeITensorData(this->GetTensor(), + static_cast<int32_t*>(memory)); + break; default: { throw armnn::UnimplementedException(); @@ -142,6 +146,10 @@ private: armcomputetensorutils::CopyArmComputeITensorData(static_cast<const int16_t*>(memory), this->GetTensor()); break; + case arm_compute::DataType::S32: + armcomputetensorutils::CopyArmComputeITensorData(static_cast<const int32_t*>(memory), + this->GetTensor()); + break; default: { throw armnn::UnimplementedException(); @@ -222,6 +230,10 @@ private: armcomputetensorutils::CopyArmComputeITensorData(this->GetTensor(), static_cast<int16_t*>(memory)); break; + case arm_compute::DataType::S32: + armcomputetensorutils::CopyArmComputeITensorData(this->GetTensor(), + static_cast<int32_t*>(memory)); + break; default: { throw armnn::UnimplementedException(); @@ -254,6 +266,10 @@ private: armcomputetensorutils::CopyArmComputeITensorData(static_cast<const int16_t*>(memory), this->GetTensor()); break; + case arm_compute::DataType::S32: + armcomputetensorutils::CopyArmComputeITensorData(static_cast<const int32_t*>(memory), + this->GetTensor()); + break; default: { throw armnn::UnimplementedException(); |