From c186b574e52b81c75e551cee46a6c4cc7d500c90 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Thu, 7 Sep 2017 09:48:04 +0100 Subject: COMPMID-481: Add thread info parameter Change-Id: Iebb50a88d017445b6b37a86563ebd4abd86c5cf5 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86788 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- arm_compute/core/Window.h | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) (limited to 'arm_compute/core/Window.h') diff --git a/arm_compute/core/Window.h b/arm_compute/core/Window.h index a2fbc8f06f..baf767e7d5 100644 --- a/arm_compute/core/Window.h +++ b/arm_compute/core/Window.h @@ -48,7 +48,7 @@ public: /** Default constructor: create a window containing a single element. */ constexpr Window() - : _dims(), _thread_id(0), _num_threads(1) + : _dims() { } /** Copy constructor @@ -293,38 +293,6 @@ public: { return slide_window_slice<4>(slice); } - /** Sets the ID of the thread that the window is associated with. - * - * @param id ID of the thread that the window is associated with. - */ - void set_thread_id(unsigned int id) - { - _thread_id = id; - } - /** Sets the number of threads dispatched that the window is associated with. - * - * @param num_threads The number of threads dispatched that the window is associated with. - */ - void set_num_threads(unsigned int num_threads) - { - _num_threads = num_threads; - } - /** Get the ID of the thread that the window is associated with. - * - * @return ID of the thread that the window is associated with. - */ - constexpr unsigned int thread_id() const - { - return _thread_id; - } - /** Get the number of threads dispatched that the window is associated with. - * - * @return The number of threads dispatched that the window is associated with. - */ - constexpr unsigned int num_threads() const - { - return _num_threads; - } /* Collapse the dimensions higher than @p first if possible. * @@ -358,8 +326,6 @@ private: private: std::array _dims; - unsigned int _thread_id; - unsigned int _num_threads; }; } #include "Window.inl" -- cgit v1.2.1