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
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.
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
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
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
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
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
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