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] Use defined(__SPIRV__) instead of !defined(all other targets) (NFC) (#18148)
This is a simpler logic, the `#else` branch already assumes built-in
SPIR-V variables anyway, so any future target would not want to take it.
Also this removes one point that needs to be modified if new targets
were to be added.
NOTE:
I could have flipped the logic to make the `#if` positive, but I didn't
that to make this a smaller diff. Let me know if that would be
preferable.
Co-authored-by: gergely.meszaros <gergelym@ubuntu-server>
0 commit comments