diff options
author | Abel Bernabeu <abel.bernabeu@arm.com> | 2017-09-28 09:53:45 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 5a6e0532b39d674f8773014a0a553d9bc70a9baa (patch) | |
tree | 5cfb228a11ed903f9e2872dc86d5cd1fdf1edc08 /src/core/AccessWindowAutoPadding.cpp | |
parent | 53b405f1e08ad41cb9a527abfe0308ec1edf18ff (diff) | |
download | ComputeLibrary-5a6e0532b39d674f8773014a0a553d9bc70a9baa.tar.gz |
COMPUTE-8024 Fixed the maximum OpenCL workgroup size
The maximum workgroup size depends on the kernel and the device, rather
than being a property of the device. The present patch fixes the case
when a kernel is queued with no workgroup size and the default workgroup
size is used instead.
A previous patch introduced a maximum workgroup size that depended on
the device but ignored the kernel. In OpenCL the maximum workgroup size
we query from the device is an upper bound of the actual maximum that
we can query for a given kernel running on the same device. For some
kernels the values will match, but for others we will get a lower value
when querying for an specific kernel (i.e. if the kernel uses a high
number of registers).
Change-Id: I3bed6bde80ddc4f0ddb8f82c80903774aa1999b6
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89471
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/AccessWindowAutoPadding.cpp')
0 files changed, 0 insertions, 0 deletions