Re: [Beignet] Problems compiling the OCL20 branch

2016-10-25 Thread Pan, Xiuli
Hi Jesper, The OCL20 branch can only build with LLVM3.8+ for some OpenCL 2.0 features need frontend support, and for LLVM3.8 we need some patch for clang. And for LLVM3.9 there are some change we have not merged into OCL20 branch. So if you would try the OCL20 branch, I suggest you build a

[Beignet] Problems compiling the OCL20 branch

2016-10-25 Thread Jesper Puge (s113443)
Hi, I am trying to compile the head of the OCL20 branch to test shared virtual memory, but it will not compile. I have previously compiled the 1.2 release using LLVM 3.6, but I can see API changes in the code that suggest a newer version of LLVM is required. What version of LLVM is known to work

[Beignet] [PATCH] disable CMRT as default, since no real case reported

2016-10-25 Thread Guo, Yejun
and this feature also sometimes introduces build issue. Signed-off-by: Guo, Yejun --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d839f3f..039f9cd 100644 --- a/CMakeLists.txt +++

[Beignet] [PATCH] Reduce the compilation time of inline pass in runModulePass().

2016-10-25 Thread yan . wang
From: Yan Wang It could reduce much compilation time when run Luxmark scenes. Avoid calling inline pass many times in runModulePass when module is changed by the other pass. Create a single funtion to run inline pass. In this single funtion, lower pass and strict math