[Mesa-dev] [PATCH v7 0/7] add clLinkProgram

Serge Martin edb+mesa at sigluy.net
Sat Feb 13 22:08:34 UTC 2016


This serie add clLinkProgram function needed for CL 1.2.
However, it lacks the binary type part that is mandatory for input validation
and also for CL_PROGRAM_BINARY_TYPE query. This will be adressed
in another serie once we agree on the way to store it.

Serge Martin (7):
  clover: add a LLVM compiler class
  clover: make use of llvm_ir_compiler
  clover: program::build change opts to std::string
  clover: separate compilation and link stages
  clover: override ret_object
  clover: add clLinkProgram (CL 1.2)
  clover: add -create-library option support

 src/gallium/state_trackers/clover/Makefile.sources |   3 +-
 src/gallium/state_trackers/clover/api/program.cpp  |  50 ++-
 src/gallium/state_trackers/clover/api/util.hpp     |  12 +
 .../state_trackers/clover/core/compiler.hpp        |   7 +-
 src/gallium/state_trackers/clover/core/error.hpp   |   7 +
 src/gallium/state_trackers/clover/core/program.cpp |  40 ++-
 src/gallium/state_trackers/clover/core/program.hpp |  10 +-
 .../state_trackers/clover/llvm/invocation.cpp      | 345 +++++++--------------
 .../state_trackers/clover/llvm/ir_compiler.cpp     | 337 ++++++++++++++++++++
 .../state_trackers/clover/llvm/ir_compiler.hpp     |  65 ++++
 10 files changed, 619 insertions(+), 257 deletions(-)
 create mode 100644 src/gallium/state_trackers/clover/llvm/ir_compiler.cpp
 create mode 100644 src/gallium/state_trackers/clover/llvm/ir_compiler.hpp

-- 
2.5.0



More information about the mesa-dev mailing list