llvm
c2a9bf86 - [Driver][SYCL][NewOffloadModel] Pull in device libraries at device compile (#21396)

Commit
46 days ago
[Driver][SYCL][NewOffloadModel] Pull in device libraries at device compile (#21396) Pull in the device libraries during compile time when using the new offload model. This is done by using the `-mlink-builtin-bitcode` option, passing in each individual device library as needed. This frees up the responsibility of linking in the device libraries during link time, and requiring the driver to pass any libraries needed to the clang-linker-wrapper or having the clang-linker-wrapper figure out what device libraries are needed at link. With this move, the `new.o` device libraries are no longer used during the device linking stage using the clang-linker-wrapper. Made updates to the build to stop creating these binaries. --------- Signed-off-by: jinge90 <ge.jin@intel.com> Co-authored-by: jinge90 <ge.jin@intel.com>
Author
Parents
Loading