[Beignet] [PATCH 3/5] HSW: Set correct max work group size for GT1 and GT2.
Zhigang Gong
zhigang.gong at linux.intel.com
Thu May 29 18:14:38 PDT 2014
LGTM.
On Fri, May 30, 2014 at 12:37:32AM +0800, Yang Rong wrote:
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
> src/cl_device_id.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/cl_device_id.c b/src/cl_device_id.c
> index 427c50e..018da95 100644
> --- a/src/cl_device_id.c
> +++ b/src/cl_device_id.c
> @@ -74,8 +74,8 @@ static struct _cl_device_id intel_hsw_gt1_device = {
> INIT_ICD(dispatch)
> .max_compute_unit = 70,
> .max_thread_per_unit = 7,
> - .max_work_item_sizes = {512, 512, 512},
> - .max_work_group_size = 512,
> + .max_work_item_sizes = {256, 256, 256},
> + .max_work_group_size = 256,
> .max_clock_frequency = 1000,
> .wg_sz = 512,
> #include "cl_gen75_device.h"
> @@ -97,7 +97,7 @@ static struct _cl_device_id intel_hsw_gt3_device = {
> .max_compute_unit = 280,
> .max_thread_per_unit = 7,
> .max_work_item_sizes = {512, 512, 512},
> - .max_work_group_size = 512,
> + .max_work_group_size = 1024,
> .max_clock_frequency = 1000,
> .wg_sz = 2048,
> #include "cl_gen75_device.h"
> --
> 1.8.3.2
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list