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
[SYCL] Force inline spec constant retrieval function to help BEs at -O0. (#6035)
kernel_handler::get_specialization_constant translates to a sequence of
calls with __spirv_SpecConstant in the end under -O0, which hurts BE
ability to guess actual constant value at the call site, especially
since it is also invoked with -O0. Forcing inlining of all the
participating functions turns the callsite into single
__spirv_SpecConstant, which is then replaced by actual constant.
Signed-off-by: Konstantin S Bobrovsky <konstantin.s.bobrovsky@intel.com>
0 commit comments