[Beignet] [PATCH 3/3] runtime: fix max work group size for IVBGT1.
Zhigang Gong
zhigang.gong at intel.com
Tue Dec 23 18:13:35 PST 2014
If the kernel is compiled under simd8 mode, the maximum work group
size should be 8 * 6 * 6 = 288. The original 512 is too large for it.
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
src/cl_device_id.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cl_device_id.c b/src/cl_device_id.c
index 0bbe031..880456f 100644
--- a/src/cl_device_id.c
+++ b/src/cl_device_id.c
@@ -55,8 +55,8 @@ static struct _cl_device_id intel_ivb_gt1_device = {
.max_compute_unit = 6,
.max_thread_per_unit = 6,
.sub_slice_count = 1,
- .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,
#include "cl_gen7_device.h"
};
--
1.8.3.2
More information about the Beignet
mailing list