We don't have explicit restriction in program global variable size. So, let's allow 128MB now, because 64KB is too small.
Signed-off-by: Ruiling Song <[email protected]> --- src/cl_gt_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h index 35a6ff5..f69c3de 100644 --- a/src/cl_gt_device.h +++ b/src/cl_gt_device.h @@ -66,7 +66,7 @@ .global_mem_cache_type = CL_READ_WRITE_CACHE, .max_constant_buffer_size = 128 * 1024 * 1024, .max_constant_args = 8, -.max_global_variable_size = 64 * 1024, +.max_global_variable_size = 128 * 1024 * 1024, .global_variable_preferred_total_size = 64 * 1024, .error_correction_support = CL_FALSE, #ifdef HAS_USERPTR -- 2.4.1 _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
