[Beignet] [PATCH] Runtime: correct some image related maximum values for IVB.
Zhigang Gong
zhigang.gong at linux.intel.com
Fri Oct 18 00:12:48 PDT 2013
I just found clCopyImage has problem when set the max_width/height to 16384,
so I have to keep them as 8192 currently.
And the max_depth should be 2048.
On Fri, Oct 18, 2013 at 07:17:07AM +0000, Yang, Rong R wrote:
> LGTM, thanks.
>
> -----Original Message-----
> From: beignet-bounces+rong.r.yang=intel.com at lists.freedesktop.org [mailto:beignet-bounces+rong.r.yang=intel.com at lists.freedesktop.org] On Behalf Of Zhigang Gong
> Sent: Friday, October 18, 2013 1:32 PM
> To: beignet at lists.freedesktop.org
> Cc: Zhigang Gong
> Subject: [Beignet] [PATCH] Runtime: correct some image related maximum values for IVB.
>
> Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
> ---
> src/cl_gt_device.h | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h index 6bfc453..6c4dbaa 100644
> --- a/src/cl_gt_device.h
> +++ b/src/cl_gt_device.h
> @@ -40,11 +40,11 @@
> .image_support = CL_TRUE,
> .max_read_image_args = 0,
> .max_write_image_args = 0,
> -.image2d_max_width = 8192,
> -.image2d_max_height = 8192,
> -.image3d_max_width = 8192,
> -.image3d_max_height = 8192,
> -.image3d_max_depth = 8192,
> +.image2d_max_width = 16384,
> +.image2d_max_height = 16384,
> +.image3d_max_width = 16384,
> +.image3d_max_height = 16384,
> +.image3d_max_depth = 2048,
> .max_samplers = 8,
> .mem_base_addr_align = sizeof(cl_uint) * 8, .min_data_type_align_size = sizeof(cl_uint),
> --
> 1.7.9.5
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list