llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[Driver][SYCL] Do not pull in late static device libs for AMD GPU

Open mdtoguchi opened this issue 3 years ago • 4 comments

The addition of the new OpenMP offloading driver path, which unbundles archives later in the toolchain is interfering with the device linking behaviors involving AMD GPU targets for SYCL offload compiles.

Disable the inclusion of these unbundled static archives as we do not yet take advantage of the new offloading paths.

mdtoguchi avatar Jul 29 '22 18:07 mdtoguchi

This is to address: https://github.com/intel/llvm/issues/6089

mdtoguchi avatar Jul 29 '22 18:07 mdtoguchi

@mdtoguchi I see that the linking issue is addressed with the PR in several applications on atleast a couple of different AMD GPU archs.

abagusetty avatar Jul 31 '22 15:07 abagusetty

Thanks.

zjin-lcf avatar Aug 10 '22 15:08 zjin-lcf

@hchilama, can you take a look?

mdtoguchi avatar Aug 10 '22 20:08 mdtoguchi

@intel/llvm-gatekeepers, this looks ready for merge - thanks!

mdtoguchi avatar Aug 11 '22 15:08 mdtoguchi