[Beignet] [PATCH V2 09/14] Backend: Add short sub group builtin functions

2016-10-13 Thread Xiuli Pan
From: Pan Xiuli Add intel sub group short type builtins. V2: Add gen8 part code. Signed-off-by: Pan Xiuli --- backend/src/backend/gen8_context.cpp | 12 + backend/src/backend/gen_context.cpp | 12 + backend/src/libocl/tmpl/ocl_simd.tmpl.cl | 44

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-13 Thread Koop Mast
On Thu, 2016-10-13 at 09:49 +, Pan, Xiuli wrote: > Hi Igor, >   > It seems something wrong with the libdrm, what the libdrm you are > using? >   > Thanks > Xiuli Hi, I don't think it is a libdrm issue (yet). By default the permissions on the /dev/dri devices get set to 660 and root:wheel. So

[Beignet] [PATCH] Refine clSetMemObjectDestructorCallback API

2016-10-13 Thread junyan . he
From: Junyan He Signed-off-by: Junyan He --- src/cl_api.c | 24 src/cl_api_mem.c | 14 ++ src/cl_mem.c | 42 -- src/cl_mem.h | 11 +++ 4 files changed, 53 insertions(+), 38 deletions(-) diff --git

Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU

2016-10-13 Thread Pan, Xiuli
Hi Igor, It seems something wrong with the libdrm, what the libdrm you are using? Thanks Xiuli From: Igor Pavlov [mailto:igor.arabesc.pav...@gmail.com] Sent: Wednesday, October 12, 2016 6:13 PM To: Pan, Xiuli Cc: beignet@lists.freedesktop.org Subject: Re: [Beignet] Weird clinfo ouput @ FreeBS

Re: [Beignet] [PATCH v4] Utests: Allow testing cl_intel_accelerator via ICD

2016-10-13 Thread Weng, Chuanbo
This version LGTM. Thanks for your patch, Rebecca. Rong, I've also sent out a patchset to fix the problem I mentioned in previous e-mail: > There is a bug in Beignet: cl_intel_motion_estimation is supported by > IVB only, but all devices show string cl_intel_motion_estimation in their > CL_DEVI

[Beignet] [PATCH 1/2] rumtime: check all the extension id, not only BASE and OPT1.

2016-10-13 Thread Chuanbo Weng
Signed-off-by: Chuanbo Weng --- src/cl_extensions.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/cl_extensions.c b/src/cl_extensions.c index 4693bb6..93277f6 100644 --- a/src/cl_extensions.c +++ b/src/cl_extensions.c @@ -117,16 +117,7 @@ cl_intel_platform_en

[Beignet] [PATCH 2/2] runtime: set cl_intel_motion_estimation as IVB specifc device extension.

2016-10-13 Thread Chuanbo Weng
Currently, cl_intel_motion_estimation is just implemented on IVB. Signed-off-by: Chuanbo Weng --- src/cl_device_id.c | 3 +++ src/cl_extensions.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cl_device_id.c b/src/cl_device_id.c index 4ea1828..7d56d90 100644 --- a/sr

[Beignet] [PATCH 1/5] Fix a bug of free all_dev when create context.

2016-10-13 Thread junyan . he
From: Junyan He --- src/cl_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cl_context.c b/src/cl_context.c index e2ee4c0..378f4c3 100644 --- a/src/cl_context.c +++ b/src/cl_context.c @@ -358,6 +358,7 @@ cl_create_context(const cl_context_properties * properties, ctx = cl_co

[Beignet] [PATCH 2/5] refine clCreateCommandQueue and clRetainCommandQueue.

2016-10-13 Thread junyan . he
From: Junyan He Signed-off-by: Junyan He --- src/cl_api.c | 38 src/cl_api_command_queue.c | 48 ++ src/cl_command_queue.c | 34 ++-- src/cl_command_queue.h | 11 ++

[Beignet] [PATCH 5/5] Refine retain/release sampler API

2016-10-13 Thread junyan . he
From: Junyan He Signed-off-by: Junyan He --- src/cl_api.c | 20 src/cl_api_sampler.c | 22 ++ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/cl_api.c b/src/cl_api.c index 96aebc2..d80335e 100644 --- a/src/cl_api.c +++ b/src/

[Beignet] [PATCH 3/5] Refine clRetain/Release MemObject

2016-10-13 Thread junyan . he
From: Junyan He Signed-off-by: Junyan He --- src/cl_api.c | 20 src/cl_api_mem.c | 22 ++ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/src/cl_api.c b/src/cl_api.c index 34242af..210b817 100644 --- a/src/cl_api.c +++ b/src/cl_api.c

[Beignet] [PATCH 4/5] Refine clCreateSampler API.

2016-10-13 Thread junyan . he
From: Junyan He Also add some parameters check to this API. Signed-off-by: Junyan He --- src/cl_api.c | 17 - src/cl_api_sampler.c | 47 +++ src/cl_sampler.c | 24 ++-- src/cl_sampler.h | 28 +++