From: Luo Xionghu <[email protected]> this value should depend on the pointer size according to the system.
Signed-off-by: Luo Xionghu <[email protected]> --- src/cl_gen75_device.h | 2 +- src/cl_gen7_device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cl_gen75_device.h b/src/cl_gen75_device.h index d6743a4..768721d 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 = 1024, +.max_parameter_size = sizeof(cl_mem) * 128, .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 470531a..5197817 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 = 1024, +.max_parameter_size = sizeof(cl_mem) * 128, .global_mem_cache_line_size = 128, /* XXX */ .global_mem_cache_size = 8 << 10, /* XXX */ .local_mem_type = CL_GLOBAL, -- 1.7.9.5 _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
