aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Window.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2018-01-29 13:43:35 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:47:40 +0000
commit995f55252dfaaa5b64075b96272ae11e23d6ca9b (patch)
tree4d7b246645f9dcd1ca5ae5a39f581d55abf600a3 /arm_compute/core/Window.h
parent8913d8d7bc83fdcb6c5dc9baca6bb369418de48b (diff)
downloadComputeLibrary-995f55252dfaaa5b64075b96272ae11e23d6ca9b.tar.gz
COMPMID-864 Window::collapse_if_possible() is misused in several CL kernels
Removed unnecessary collapse_if_possible() calls. Change-Id: I6f3434bc4a26470c4de5bac4e3d90b4b019c2c9c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/117993 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/Window.h')
-rw-r--r--arm_compute/core/Window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm_compute/core/Window.h b/arm_compute/core/Window.h
index cca12c9efe..5ca210a112 100644
--- a/arm_compute/core/Window.h
+++ b/arm_compute/core/Window.h
@@ -177,6 +177,16 @@ public:
*/
void shift(size_t dimension, int shift_value);
+ /** Shift down all the dimensions of a window
+ *
+ * i.e new_dims[n] = old_dims[n+shift_value].
+ *
+ * @param[in] shift_value Number of dimensions to shift the window by.
+ *
+ * @return The window with the shifted dimensions.
+ */
+ Window shift_dimensions(unsigned int shift_value) const;
+
/** Adjust the start or end of a given dimension by the given value
*
* @param[in] dimension The dimension to adjust