[Piglit] [PATCH 1/1] cl: Add support for OCL 2.0

Jan Vesely jan.vesely at rutgers.edu
Mon Aug 28 22:23:40 UTC 2017


On Mon, 2017-08-28 at 15:15 -0700, Vinson Lee wrote:
> On Wed, Jul 19, 2017 at 3:51 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> > v2: Fix warning in cl-api-get-mem-object-info
> > v3: Filter permissible queue properties combinations
> >     Use and test clCreateCommandQueueWithProperties on OCL 2.0
> > 
> > Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> > ---
> > 
> > I see few regressions with this patch on beignet(SKL) in generated clamp/mad_sat long16 tests. Forcing the clc version to 1.2 in those test fixes the regression so I believe it's beignet bug.
> > No regressions on clover Turks and beignet(IVB).
> > 
> > Jan
> > 
> 
> This patch introduced this GCC warning.
> 
> create-command-queue.c: In function ‘piglit_cl_test’:
> create-command-queue.c:159:12: warning: cast from pointer to integer
> of different size [-Wpointer-to-int-cast]
>             (unsigned int)mixed_command_queue_properties);
>             ^

thanks for noticing. the attached patch should fix the problem (and
correctly report failed property).

Jan

> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cl-Fix-error-message-value.patch
Type: text/x-patch
Size: 1088 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170828/b62ce148/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170828/b62ce148/attachment.sig>


More information about the Piglit mailing list