You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Driver][SYCL][FPGA] Do not optimize after wrapping an object (#2695)
When performing -fsycl-link=early and generating an archive for
FPGA, the host object ended up being truncated in the archive.
After wrapping the host object (which generates a .bc file), that
wrapped object goes through an additional compilation step. When
enabling optimizations (-O2, etc), the wrapped host object would
be optimized away, causing problems when going from the early
device to either exe or image. Do not pass the optimization option
during this specific step.
0 commit comments