aboutsummaryrefslogtreecommitdiff
path: root/src/core/IAccessWindow.cpp
diff options
context:
space:
mode:
authorDiego Lopez Recas <Diego.LopezRecas@arm.com>2017-12-18 14:42:56 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:45:00 +0000
commit0021d750d66d199c411df00cdd8308c325f1fef3 (patch)
treeb96e618977442a8aab335c136d369a958998d416 /src/core/IAccessWindow.cpp
parent5b6904b8d9cb5e8a343cde96fd5a8701f44dff90 (diff)
downloadComputeLibrary-0021d750d66d199c411df00cdd8308c325f1fef3.tar.gz
IVGCVSW-863 Broadcast support in CL/NEON Arithmetic Add
Also, added instrumentation to support generic tensor broadcasting for NEON and CL backends. Change-Id: I1bc5747a286e1a4b464c209067581e103d473b9a Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114201 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/IAccessWindow.cpp')
-rw-r--r--src/core/IAccessWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/IAccessWindow.cpp b/src/core/IAccessWindow.cpp
index 7dfe5db5c5..c73f4e7bb2 100644
--- a/src/core/IAccessWindow.cpp
+++ b/src/core/IAccessWindow.cpp
@@ -207,8 +207,8 @@ bool AccessWindowRectangle::update_padding_if_needed(const Window &window)
return false;
}
- ARM_COMPUTE_ERROR_ON(window.x().step() * _scale_x == 0);
- ARM_COMPUTE_ERROR_ON(window.y().step() * _scale_y == 0);
+ ARM_COMPUTE_ERROR_ON(_scale_x == 0);
+ ARM_COMPUTE_ERROR_ON(_scale_y == 0);
const int min_x = window.x().start() * _scale_x + _x;
const int max_x = (window.x().end() - window.x().step()) * _scale_x + _x + _width;