diff options
author | Yang, Rong R <rong.r.yang@intel.com> | 2017-06-22 17:38:55 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-06-23 16:04:54 +0800 |
commit | 36f6a8b6b956ffed15d100abe677125d4a5aeaed (patch) | |
tree | 17353b2825c6fbb8124746bafca9aa9ee196a8f0 /intel-beignet.icd.in | |
parent | f32e067b2ef32568253cf32fd1bd0eaafe20439c (diff) |
GBE: clean llvm module's clone and release.
There are some changes:
1. Clone the module before call LLVMLinkModules2, remove other
clones for it.
2. Don't delete module in function llvmToGen.
3. Add a function programNewFromLLVMFile so genProgramNewFromLLVM
and buildFromLLVMModule only handle llvm module. Actually,
programNewFromLLVMFile is only used by clCreateProgramWithLLVMIntel,
and I think it is useless, maybe we could delete it at all.
V2: define errDiag beside #if/#endif.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
Diffstat (limited to 'intel-beignet.icd.in')
0 files changed, 0 insertions, 0 deletions