[Beignet] [PATCH 0/3] Change to use CLANG native image/sampler_t type.
Zhigang Gong
zhigang.gong at linux.intel.com
Sun Dec 14 17:06:40 PST 2014
Miss the first patch in this patchet, just sent it out, please
apply that patch firstly. The subject is:
"[PATCH] GBE: switch to use CLANG native image types."
On Mon, Dec 15, 2014 at 09:02:21AM +0800, Zhigang Gong wrote:
> This patchset is to change the hacky image_t and sampler_t to
> the CLANG native types. This could fix some very corner test cases.
> And also include one patch to fix the image1d_buffer maximum size
> restrication.
>
> Zhigang Gong (3):
> GBE: switch to CLANG native sampler_t.
> GBE: remove some image1d_buffer related builtin functions.
> GBE/CL: use 2D image to implement large image1D_buffer.
>
> backend/src/CMakeLists.txt | 1 +
> backend/src/ir/function.hpp | 5 ++
> backend/src/ir/sampler.cpp | 6 +-
> backend/src/libocl/include/ocl_image.h | 8 --
> backend/src/libocl/include/ocl_types.h | 4 +-
> backend/src/libocl/src/ocl_image.cl | 53 +++++++++---
> backend/src/llvm/llvm_gen_backend.cpp | 8 +-
> backend/src/llvm/llvm_gen_backend.hpp | 1 +
> backend/src/llvm/llvm_sampler_fix.cpp | 144 +++++++++++++++++++++++++++++++++
> backend/src/llvm/llvm_to_gen.cpp | 1 +
> src/cl_gt_device.h | 2 +-
> src/cl_kernel.c | 12 ++-
> src/cl_mem.c | 52 +++++++++---
> src/cl_mem.h | 6 ++
> src/intel/intel_gpgpu.c | 2 +-
> 15 files changed, 258 insertions(+), 47 deletions(-)
> create mode 100644 backend/src/llvm/llvm_sampler_fix.cpp
>
> --
> 1.8.3.2
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list