[Beignet] [PATCH 2/2] Runtime: fix some max values.
zhigang.gong at linux.intel.com
zhigang.gong at linux.intel.com
Tue Nov 5 20:23:12 PST 2013
From: Zhigang Gong <zhigang.gong at intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
src/cl_gen75_device.h | 2 +-
src/cl_gen7_device.h | 2 +-
src/cl_gt_device.h | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/cl_gen75_device.h b/src/cl_gen75_device.h
index e72ab0b..7bf662e 100644
--- a/src/cl_gen75_device.h
+++ b/src/cl_gen75_device.h
@@ -19,7 +19,7 @@
/* Common fields for both SNB devices (either GT1 or GT2)
*/
-.max_parameter_size = 256,
+.max_parameter_size = 1024,
.global_mem_cache_line_size = 128, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
.local_mem_type = CL_GLOBAL,
diff --git a/src/cl_gen7_device.h b/src/cl_gen7_device.h
index 5886103..e198d6f 100644
--- a/src/cl_gen7_device.h
+++ b/src/cl_gen7_device.h
@@ -18,7 +18,7 @@
*/
/* Common fields for both IVB devices (either GT1 or GT2) */
-.max_parameter_size = 256,
+.max_parameter_size = 1024,
.global_mem_cache_line_size = 128, /* XXX */
.global_mem_cache_size = 8 << 10, /* XXX */
.local_mem_type = CL_GLOBAL,
diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h
index 82818d1..23adce7 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -38,14 +38,14 @@
.address_bits = 32,
.max_mem_alloc_size = 128 * 1024 * 1024,
.image_support = CL_TRUE,
-.max_read_image_args = 0,
-.max_write_image_args = 0,
+.max_read_image_args = 128,
+.max_write_image_args = 8,
.image2d_max_width = 8192,
.image2d_max_height = 8192,
.image3d_max_width = 8192,
.image3d_max_height = 8192,
.image3d_max_depth = 2048,
-.max_samplers = 8,
+.max_samplers = 16,
.mem_base_addr_align = sizeof(cl_uint) * 8,
.min_data_type_align_size = sizeof(cl_uint),
.single_fp_config = 0, /* XXX */
--
1.7.9.5
More information about the Beignet
mailing list