[Beignet] [patch v4 0/3] resend the whole patchset.

xionghu.luo at intel.com xionghu.luo at intel.com
Tue Jan 27 19:49:48 PST 2015


From: Luo Xionghu <xionghu.luo at intel.com>

patch 2 depends patch 1, so resend the patchset.

Luo Xionghu (3):
  libocl: reimplement clz with lzd instruction instead of fbh.
  reimplement the LZD instruction in backend.
  fix clz utest issue.

 backend/src/libocl/CMakeLists.txt           |   2 +-
 backend/src/libocl/src/ocl_clz.ll           |  62 +++++++++++++
 backend/src/libocl/tmpl/ocl_integer.tmpl.cl |  78 +++--------------
 backend/src/libocl/tmpl/ocl_integer.tmpl.h  |   9 ++
 backend/src/llvm/llvm_gen_backend.cpp       |  37 +++++++-
 kernels/compiler_clz.cl                     |   8 +-
 kernels/compiler_clz_int.cl                 |   5 --
 kernels/compiler_clz_short.cl               |   5 --
 utests/CMakeLists.txt                       |   2 -
 utests/compiler_clz.cpp                     | 129 ++++++++++++++++++++++------
 utests/compiler_clz_int.cpp                 |  31 -------
 utests/compiler_clz_short.cpp               |  31 -------
 12 files changed, 229 insertions(+), 170 deletions(-)
 create mode 100644 backend/src/libocl/src/ocl_clz.ll
 delete mode 100644 kernels/compiler_clz_int.cl
 delete mode 100644 kernels/compiler_clz_short.cl
 delete mode 100644 utests/compiler_clz_int.cpp
 delete mode 100644 utests/compiler_clz_short.cpp

-- 
1.9.1



More information about the Beignet mailing list