[Beignet] [PATCH V2 0/3] opencl-1.2 compile/link implementation.

xionghu.luo at intel.com xionghu.luo at intel.com
Wed Jun 4 19:44:14 PDT 2014


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

1. this patchset depends on the patch from master called "remove the code of saving the llvm bitcode to file, replace it with llvm::Module";
2. clBuildProgram path is independent of clCompileProgram/clLinkProgram. clBuildProgram allocates new LLVMContext, compile/link use the global LLVMContext.

Luo (3):
  add [opencl-1.2] API clCompileProgram.
  add [opencl-1.2] API clLinkProgram.
  add [opencl-1.2] test case runtime_cl.

 backend/src/backend/gen_program.cpp | 120 ++++++++++++++++++++++++
 backend/src/backend/program.cpp     | 178 ++++++++++++++++++++++++++++++++++++
 backend/src/backend/program.h       |  38 ++++++++
 kernels/multi2.h                    |   1 +
 kernels/multi_A.cl                  |  13 +++
 kernels/multi_B.cl                  |   9 ++
 kernels/mydir/multi3.h              |   4 +
 src/cl_api.c                        |  74 +++++++++++++++
 src/cl_gbe_loader.cpp               |  16 ++++
 src/cl_program.c                    | 138 ++++++++++++++++++++++++++++
 src/cl_program.h                    |  15 ++-
 utests/CMakeLists.txt               |   1 +
 utests/runtime_compile_link.cpp     | 127 +++++++++++++++++++++++++
 13 files changed, 733 insertions(+), 1 deletion(-)
 create mode 100644 kernels/multi2.h
 create mode 100644 kernels/multi_A.cl
 create mode 100644 kernels/multi_B.cl
 create mode 100644 kernels/mydir/multi3.h
 create mode 100644 utests/runtime_compile_link.cpp

-- 
1.8.1.2



More information about the Beignet mailing list