Enable libocl and disable the usage of the old huge header.
authorJunyan He <junyan.he@linux.intel.com>
Mon, 1 Sep 2014 07:28:02 +0000 (15:28 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Thu, 4 Sep 2014 04:10:48 +0000 (12:10 +0800)
commit473683fa7f13a61f44c80eeac4699b17d41df33b
tree3d1470dc97008ac1d9d84f4cd333d98fefa5c3e7
parent50bc7dd0e4d863265d81823ed6cbf9d0ee8de192
Enable libocl and disable the usage of the old huge header.

The llvm ir print out is modified.
From the OCL_OUTPUT_LLVM_BEFORE_EXTRA_PASS and
OCL_OUTPUT_LLVM, we change to
OCL_OUTPUT_LLVM_BEFORE_LINK
OCL_OUTPUT_LLVM_AFTER_LINK
OCL_OUTPUT_LLVM_AFTER_GEN
The first one print out the IR before link the bitcode lib.
The second one print out the IR result after linking.
Then last one print out the IR after gen translating.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/CMakeLists.txt
backend/src/CMakeLists.txt
backend/src/GBEConfig.h.in
backend/src/backend/program.cpp
backend/src/libocl/CMakeLists.txt [new file with mode: 0644]
backend/src/libocl/include/ocl.h [new file with mode: 0644]
backend/src/llvm/llvm_to_gen.cpp
utests/setenv.sh.in