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

Vinson Lee vlee at freedesktop.org
Tue Aug 29 00:09:08 UTC 2017


On Mon, Aug 28, 2017 at 3:23 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> 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
>

Tested-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list