Re: [Beignet] [Patch V3] Add read buffer/image benchmark.

2015-01-08 Thread Zhigang Gong
LGTM, pushed, thanks. On Fri, Jan 09, 2015 at 09:38:47AM +0800, Yang Rong wrote: Add there two benchmark to compare the buffer and image performance V2: init the coord before read image. V3: Correct the image's width and buffer's read index. Signed-off-by: Yang Rong rong.r.y...@intel.com

[Beignet] [PATCH V2 2/4] add CMake option USE_STANDALONE_GBE_COMPILER and STANDALONE_GBE_COMPILER_DIR

2015-01-08 Thread Guo Yejun
At some platforms with old c/c++ environment, C++11 features are not supported, it results in the failure to build the gbe compiler part which depends on LLVM/clang using C++11 features. The way to resolve is to build a standalone gbe compiler within another feasible system, and build beignet

[Beignet] [PATCH 3/4] only build tests that do not need compiler when standalone compiler is provided

2015-01-08 Thread Guo Yejun
the built test case is load_program_from_bin_file, it demos how to generate from source kernel compiler_ceil.cl to binary kernel compiler_ceil.bin with the standalone compiler for a specific gen pci id, and also demos how to load and execute the binary kernel when the compiler is not available in

[Beignet] [PATCH V2 1/4] add option BUILD_STANDALONE_GBE_COMPILER to build static compiler

2015-01-08 Thread Guo Yejun
The standalone compiler (gbe_bin_generater), depending on LLVM/clang, could only be built with C++11 features. To make it workable within old c/c++ version environment, add one CMAKE option to link against all static libraries. And also zip the compiler and necessary files into a tar ball. v2:

[Beignet] [PATCH] Fix loop condition of PrintfSet constructor.

2015-01-08 Thread Yan Wang
Signed-off-by: Yan Wang yan.w...@linux.intel.com --- backend/src/ir/printf.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/ir/printf.hpp b/backend/src/ir/printf.hpp index 3b176f6..cc1f8dc 100644 --- a/backend/src/ir/printf.hpp +++ b/backend/src/ir/printf.hpp @@