Implement the clCreateProgramWithBinary to deseralize the binary.
authorJunyan He <junyan.he@linux.intel.com>
Wed, 11 Sep 2013 10:07:51 +0000 (18:07 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 12 Sep 2013 07:44:55 +0000 (15:44 +0800)
commitd41f101d64e8ca389da3a628c255b2e42f9eb0fe
treebb4b3fe10348816cd928b58a6239bf88e06ed173
parent87fdc4198a987a2ae4cb1382ff947ab4c221b29e
Implement the clCreateProgramWithBinary to deseralize the binary.

We now do not check the format of the binary.
We need to check the binary file format to handle the internal binary,
the LLVM binary or the invalid format differently.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/backend/gen_program.cpp
src/cl_api.c
src/cl_program.c
src/cl_program.h