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

[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 there