Re: [Beignet] Must

2015-04-28 Thread Zhigang Gong
You may need a completely clean rebuild which need to delete all the old files. On Wed, Apr 29, 2015 at 02:43:05PM +0800, Gao, Sanshan wrote: > > > When I run any OpenCL programs, I need root privilege > > You shouldn't; you may have accidentally built beignet without X support. > > Run > > > >

Re: [Beignet] [PATCH] Make __local on Haswell an error, instead of silently doing nothing

2015-04-28 Thread Zhigang Gong
On Tue, Apr 28, 2015 at 07:36:39PM +0100, Rebecca N. Palmer wrote: > Given that really fixing shared local memory on Haswell is likely > to take some time, at least make it an explicit error that points > the user to the kernel patch, instead of returning "success" > without actually doing the comp

[Beignet] Must

2015-04-28 Thread Gao, Sanshan
> > When I run any OpenCL programs, I need root privilege > You shouldn't; you may have accidentally built beignet without X support. Run > > sudo apt-get install cmake pkg-config python ocl-icd-dev ocl-icd-opencl-dev > libdrm-dev libxfixes-dev libxext-dev llvm-3.5-dev clang-3.5 libclang-3.5-dev

Re: [Beignet] Where's the test failure with clang 3.6?

2015-04-28 Thread Zhigang Gong
On Tue, Apr 28, 2015 at 10:03:17PM +0100, Rebecca N. Palmer wrote: > From http://www.freedesktop.org/wiki/Software/Beignet/ : > >Based on our test result, LLVM 3.5 has best pass rate on all the test > >suites. Compare to LLVM 3.5, LLVM 3.6 has slightly lower pass rate(caused by > >one front end b

Re: [Beignet] Haswell issues

2015-04-28 Thread Zhigang Gong
> -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Rebecca N. Palmer > Sent: Monday, April 27, 2015 6:10 AM > To: beignet@lists.freedesktop.org > Subject: Re: [Beignet] Haswell issues > > > I will raise this issue to Linux i915 kernel team. A

[Beignet] Where's the test failure with clang 3.6?

2015-04-28 Thread Rebecca N. Palmer
From http://www.freedesktop.org/wiki/Software/Beignet/ : Based on our test result, LLVM 3.5 has best pass rate on all the test suites. Compare to LLVM 3.5, LLVM 3.6 has slightly lower pass rate(caused by one front end bug at clang 3.6) but has better performance (3% to 5% up). When I run the

[Beignet] [PATCH] Make __local on Haswell an error, instead of silently doing nothing

2015-04-28 Thread Rebecca N. Palmer
Given that really fixing shared local memory on Haswell is likely to take some time, at least make it an explicit error that points the user to the kernel patch, instead of returning "success" without actually doing the computation. As I can't find an error code to check for this problem (if ther

Re: [Beignet] Problems and questions when using Beignet

2015-04-28 Thread Rebecca N. Palmer
When I run "./utest_run", I get 18 errors, Those tests use the __local memory space, which does not work on Haswell without a kernel patch: https://01.org/zh/beignet/downloads/linux-kernel-patch-hsw-support When I run any OpenCL programs, I need root privilege You shouldn't; you may have acci