diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-09-07 09:48:04 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | c186b574e52b81c75e551cee46a6c4cc7d500c90 (patch) | |
tree | 682add7d1b705eb6d0b79b1f9a7a039dbaa4287b /arm_compute/core/Window.h | |
parent | 3e05e4e85912e745b8555102e1bcef13478d2ceb (diff) | |
download | ComputeLibrary-c186b574e52b81c75e551cee46a6c4cc7d500c90.tar.gz |
COMPMID-481: Add thread info parameter
Change-Id: Iebb50a88d017445b6b37a86563ebd4abd86c5cf5
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86788
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/Window.h')
-rw-r--r-- | arm_compute/core/Window.h | 36 |
1 files changed, 1 insertions, 35 deletions
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<Dimension, Coordinates::num_max_dimensions> _dims; - unsigned int _thread_id; - unsigned int _num_threads; }; } #include "Window.inl" |