diff options
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(); |