summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-12-24 09:29:01 +0800
committerZhigang Gong <zhigang.gong@intel.com>2015-01-04 16:55:01 +0800
commitb0fa431ab7ad722edeb43f985224c341bd3b7607 (patch)
treec9878ec8d5cbfb9cfec514738cd94a6ba23c7b7b /src
parent3ed25511247c2b886d58d839b30260732479d6d2 (diff)
runtime: fix max work group size for IVBGT1.
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@intel.com> Tested-by: "Meng, Mengmeng" <mengmeng.meng@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/cl_device_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cl_device_id.c b/src/cl_device_id.c
index 34532975..3032a382 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"
};