aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/ICLKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/ICLKernel.cpp')
-rw-r--r--src/core/CL/ICLKernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/ICLKernel.cpp b/src/core/CL/ICLKernel.cpp
index 2d28a496c9..d81ad46b29 100644
--- a/src/core/CL/ICLKernel.cpp
+++ b/src/core/CL/ICLKernel.cpp
@@ -98,7 +98,7 @@ void ICLKernel::add_tensor_argument(unsigned &idx, const ICLTensor *tensor, cons
for(unsigned int n = 0; n < info->num_dimensions(); ++n)
{
- offset_first_element += window[n].start() * strides[n];
+ offset_first_element += (window.is_broadcasted(n) ? 0 : window[n].start()) * strides[n];
}
unsigned int idx_start = idx;