[Beignet] [PATCH 3/5] HSW: Set correct max work group size for GT1 and GT2.

Yang Rong rong.r.yang at intel.com
Thu May 29 09:37:32 PDT 2014


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



More information about the Beignet mailing list