diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-10-27 13:37:16 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 1f378ee7639837601f5152ee9f185ee1a528d643 (patch) | |
tree | ba0b05fb5001c2e630c713f588b928bb51d97c3a /arm_compute | |
parent | 407c3e6e383affa7ebe72ce5f50fcf163ff037a3 (diff) | |
download | ComputeLibrary-1f378ee7639837601f5152ee9f185ee1a528d643.tar.gz |
COMPMID-556: Static helper function for getting gws from window.
Change-Id: I3e47385b2f7a7977c2c61272f2fb30e800f39406
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93429
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/CL/ICLKernel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm_compute/core/CL/ICLKernel.h b/arm_compute/core/CL/ICLKernel.h index 9119940bc5..a1bc3eb8d2 100644 --- a/arm_compute/core/CL/ICLKernel.h +++ b/arm_compute/core/CL/ICLKernel.h @@ -180,6 +180,13 @@ public: * @return The maximum workgroup size value. */ size_t get_max_workgroup_size(); + /** Get the global work size given an execution window + * + * @param[in] window Execution window + * + * @return Global work size of the given execution window + */ + static cl::NDRange gws_from_window(const Window &window); private: /** Add the passed array's parameters to the object's kernel's arguments starting from the index idx. |