Re: [Beignet] [PATCH V4] Enable OpenCL 2.0 only where supported

2017-02-10 Thread Rebecca N. Palmer
Yang, Rong R wrote: Because use -cl-std=CL1.2 by default when OpenCL 2.0 enabled, I prefer to always report address_bits = 32 now. OpenCL spec consider only one address bits in one device, but when GEN9 now support both 32 bits and 64 bits address, so there is no way to comply with spec. As

Re: [Beignet] VME support for Intel 4th generation (Haswell)

2017-02-10 Thread sat iiitb
Hi Chuanbo Understood and it's good news that this was planned for future (since I haven't encountered any posts on motion estimation in Beignet). I noticed the comment below with in 'cl_gen7_device.h' header that indicates perhaps 4th gen on wards is not yet ready for motion estimation support.

Re: [Beignet] [PATCH] Only provide device IDs if the type matches

2017-02-10 Thread Simon Richter
Hi, On Fri, Feb 10, 2017 at 06:36:35AM +, Pan, Xiuli wrote: > You point about the device type is right, but the git commit you found is > not right the function is just copy form somewhere else. And the this > patch is not follow the OpenCL spec. As the Beignet does not have a CPU > device, w

Re: [Beignet] [PATCH v2 2/2] Add document of using cl_khr_gl_sharing to do gl buffer sharing.

2017-02-10 Thread Yang, Rong R
LGTM, pushed, thanks. > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Chuanbo Weng > Sent: Friday, February 10, 2017 15:48 > To: beignet@lists.freedesktop.org > Cc: Weng, Chuanbo > Subject: [Beignet] [PATCH v2 2/2] Add document of using c

[Beignet] [PATCH V4] Enable OpenCL 2.0 only where supported

2017-02-10 Thread Xiuli Pan
From: Pan Xiuli This allows a single beignet binary to both offer 2.0 where available, and still work on older hardware. V2: Default to 1.2 when -cl-std is not set (required by the OpenCL spec, and also likely to be faster). V3: Only enable OpenCL 2.0 when llvm version is 39. V4: Only enable

[Beignet] [PATCH] Runtime: fix get non support type device bug.

2017-02-10 Thread Yang Rong
Only return support device type (GPU and default) in function cl_get_gt_device. Contributor: Giuseppe Bilotta Signed-off-by: Yang Rong --- src/cl_device_id.c | 10 +++--- src/cl_device_id.h | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/cl_device_id.c b/src/cl_d

[Beignet] [PATCH v2 1/2] Add example of using cl_khr_gl_sharing to do gl buffer sharing.

2017-02-10 Thread Chuanbo Weng
Signed-off-by: Chuanbo Weng --- CMakeLists.txt | 34 +++ examples/CMakeLists.txt | 80 ++-- examples/gl_buffer_sharing/gl_buffer_sharing.cpp | 115 +++ kernels/runtime_fill_gl_image.cl

[Beignet] [PATCH v2 2/2] Add document of using cl_khr_gl_sharing to do gl buffer sharing.

2017-02-10 Thread Chuanbo Weng
v2: 1. Change description of cl_khr_gl_sharing in README.md 2. Add display hint in gl-buffer-sharing-howto.mdwn Signed-off-by: Chuanbo Weng --- docs/Beignet.mdwn | 7 ++- docs/howto/gl-buffer-sharing-howto.mdwn | 82 + 2 files changed, 8