add the usage of link program from llvm binary.
authorLuo <xionghu.luo@intel.com>
Fri, 27 Jun 2014 00:27:03 +0000 (08:27 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 1 Jul 2014 02:30:03 +0000 (10:30 +0800)
commitff4eaa52340ab666c0fb5f8b2476aaf855422a96
tree0e4bb83f71dda0099d54ba05d195e4984e16b320
parent3aa325c8a047f7176f3e00be597139eff8c9da32
add the usage of link program from llvm binary.

user A could compile and link kernel source to llvm binary first, then
query the binary to save to file; With the binary, user B can call
clCreateProgramWithBinary without compile the source again.
this usage could protect those who need to protect the kernel source.

Signed-off-by: Luo <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/runtime_compile_link.cpp