mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Until now, the workgroups test computed the work-group size for execution by querying the maximum number of work-items based on the kernel. This returns the overall limit on workgroup size but not the limits in each specific dimension. This change additionally restricts the work-group size to the device's dimensional limits. Problem: The kernel's maximum work-group size is used to execute it in a single dimension, without regard for dimensional limitations. Spec References: OpenCL 2.0 rev 19 Solution: The kernel's maximum work-group size is decreased such that it meets any dimensional limitations before it's enqueued. Test Suite Affected: Workgroups Side Effects: None Change-Id: I1c642af087f1934723ac7218ca9a35413ff83224