summaryrefslogtreecommitdiff
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-09 14:22:19 +0800
commit00b67e1fa0a4f27e977781582fd73428b4802625 (patch)
treefebcccdb013fb0bb3ed9c250ed792d8aeadae41d
parenta27428d2f30d7859cb988c6fa93a2964c443373d (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>
-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"
};