diff options
author | zhenglin <zhenglin.li@arm.com> | 2017-12-01 12:04:32 +0800 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:41:58 +0000 |
commit | d9a9c5034e0e262b0fab8090ae1485025de13736 (patch) | |
tree | 79b26950d9c1dfe91064b78b1739e9f83d4df7c9 | |
parent | 8951933e5dd7be8d922affea3cc23a48a05b694d (diff) | |
download | ComputeLibrary-d9a9c5034e0e262b0fab8090ae1485025de13736.tar.gz |
APPBROWSER-329: Fix the adjusting group size issues
Change-Id: I2171b79e85eb316bf6bfb09ab8a54880b7708a4c
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111435
Reviewed-by: Stephen Li <stephen.li@arm.com>
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Joel Liang <joel.liang@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
-rw-r--r-- | src/core/GLES_COMPUTE/IGCKernel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/GLES_COMPUTE/IGCKernel.cpp b/src/core/GLES_COMPUTE/IGCKernel.cpp index d6ad6c47d9..c60c1674bf 100644 --- a/src/core/GLES_COMPUTE/IGCKernel.cpp +++ b/src/core/GLES_COMPUTE/IGCKernel.cpp @@ -56,9 +56,9 @@ void arm_compute::enqueue(IGCKernel &kernel, const Window &window, const gles::N ARM_COMPUTE_ERROR_ON_MSG((((window.z().end() - window.z().start()) % (window.z().step() * lws[2])) != 0), "window z end =%d, start=%d, step=%d, lws z=%d", window.z().end(), window.z().start(), window.z().step(), lws[2]); - ARM_COMPUTE_GL_CHECK(glDispatchCompute((window.x().end() - window.x().start()) / (window.x().step() / lws[0]), - (window.y().end() - window.y().start()) / (window.y().step() / lws[1]), - (window.z().end() - window.z().start()) / (window.z().step() / lws[2]))); + ARM_COMPUTE_GL_CHECK(glDispatchCompute(((window.x().end() - window.x().start()) / window.x().step()) / lws[0], + ((window.y().end() - window.y().start()) / window.y().step()) / lws[1], + ((window.z().end() - window.z().start()) / window.z().step()) / lws[2])); } IGCKernel::IGCKernel() |