diff options
author | Jammy Zhou <jammy.zhou@linaro.org> | 2019-10-21 16:44:40 +0800 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-23 07:26:45 +0000 |
commit | d80cc0c9766b87a4cfe530ad90e11ed1e706d890 (patch) | |
tree | a3a91807b7eab2e3c5a247f23d3ba40935cd61df /src/backends/aclCommon | |
parent | 0898b33812a472dfbd77984dbbe4880523a8595c (diff) | |
download | armnn-d80cc0c9766b87a4cfe530ad90e11ed1e706d890.tar.gz |
Fix build failures on RPi 4B
Signed-off-by: Jammy Zhou <jammy.zhou@gmail.com>
Change-Id: I12562c4a9671cd43884e7c0c023ca463a99c3aa2
Diffstat (limited to 'src/backends/aclCommon')
-rw-r--r-- | src/backends/aclCommon/ArmComputeTensorUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/aclCommon/ArmComputeTensorUtils.hpp b/src/backends/aclCommon/ArmComputeTensorUtils.hpp index c30de19557..ef837d84d8 100644 --- a/src/backends/aclCommon/ArmComputeTensorUtils.hpp +++ b/src/backends/aclCommon/ArmComputeTensorUtils.hpp @@ -123,7 +123,7 @@ inline size_t GetTensorOffset(const arm_compute::ITensorInfo& info, coords.set(2, static_cast<int>(channelIndex)); coords.set(1, static_cast<int>(y)); coords.set(0, static_cast<int>(x)); - return info.offset_element_in_bytes(coords); + return boost::numeric_cast<size_t>(info.offset_element_in_bytes(coords)); } // Helper function to obtain element offset into data buffer representing tensor data (assuming no strides). |