Re: [Beignet] [PATCH 5/9] Implement event related functions.

2016-09-25 Thread Yang, Rong R
The patchset basically LGTM, but there is another issue that will cause segmentation fault when call clEnqueueFillBuffer with size=0, other similar apis may have the same issue, can you fix it and then I will push the patchset. > -Original Message- > From: Beignet [mailto:beignet-boun..

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Yang, Rong R
> -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Rebecca N. Palmer > Sent: Saturday, September 24, 2016 5:54 > To: beignet@lists.freedesktop.org > Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 > regarding X11 and kernel

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Yang, Rong R
>but it seems like the DRI is only available together with X. As my understanding, /dev/dri is create by drm's kernel space driver, and it is not only available together with X. Actually X is one of /dev/dri's clients, all graphics stack such as wayland and vaapi use it. >[0.879802] [drm] I

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Weng, Chuanbo
How did you work out a non-X ubuntu? Installed an ubuntu server edition? /dev/dri is supported by linux kernel, try this command to see whether there is drm and i915 module: lsmod | grep i915 Maybe you can update your linux kernel to latest version and try again. Thanks, Chuanbo Weng --

Re: [Beignet] Status of LLVM 3.9 support?

2016-09-25 Thread Pan, Xiuli
This patch is still under review, and it will soon be pushed as it is reviewed. Thanks Xiuli -Original Message- From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Rebecca N. Palmer Sent: Monday, September 26, 2016 6:38 AM To: beignet@lists.freedesktop.org Subject:

[Beignet] [PATCH] Utest: test pow, not powr, on negative x

2016-09-25 Thread Rebecca N. Palmer
powr(x,y) is explicitly undefined for negative x; on my hardware, it happens to be correct in default mode, but acts like pow(abs(x),y) in fast (OCL_STRICT_CONFORMANCE=0) mode, failing the test. Signed-off-by: Rebecca Palmer diff --git a/utests/utest_math_gen.py b/utests/utest_math_gen.py index

[Beignet] Status of LLVM 3.9 support?

2016-09-25 Thread Rebecca N. Palmer
A patch set for supporting LLVM 3.9 was posted here last month https://lists.freedesktop.org/archives/beignet/2016-August/007843.html , but not pushed; why? Debian mesa plans to switch to 3.9 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836913 and we would normally follow. _

[Beignet] [PATCH] Allow building tests with Python 3 (no string.atoi)

2016-09-25 Thread Rebecca N. Palmer
Signed-off-by: Rebecca Palmer diff --git a/utests/utest_generator.py b/utests/utest_generator.py index d66788c..f8fe35e 100644 --- a/utests/utest_generator.py +++ b/utests/utest_generator.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/python from __future__ import print_function import os,