[Beignet] [PATCH 16/18] Enable the libocl to replace the huge PCH header.
Song, Ruiling
ruiling.song at intel.com
Wed Aug 27 20:07:37 PDT 2014
According to Lv Meng's patch "Fix compile warnings for icc compiler", in c++0x std::auto_ptr will be deprecated in favor of std::unique_ptr.
+ std::auto_ptr<Module> M;
+
+ /* Before do any thing, we first filter in all CL functions in bitcode. */
+ M.reset(runBitCodeLinker(cl_mod));
+ if (!module)
+ delete cl_mod;
More information about the Beignet
mailing list