From e125dd4511dba842ddd8a6b713982d8d7fed7ce0 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Tue, 5 Nov 2013 13:56:06 +0800 Subject: [PATCH] Runtime: fix some max values. Signed-off-by: Zhigang Gong Reviewed-by: "Yang, Rong R" --- 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 */ -- 2.7.4