[SYCL] Replace direct builtins-side multi_ptr usage with forward-declaration#21687
[SYCL] Replace direct builtins-side multi_ptr usage with forward-declaration#21687koparasy wants to merge 6 commits intointel:syclfrom
Conversation
PR Note (Breaking Change Awareness)This change removes a transitive include of As a result, code that previously relied on including Impact:Source-breaking for applications that depend on transitive inclusion of Recommended fix for users:Explicitly include Question for reviewers: Should we: |
Applications shouldn't use individual headers, but sycl.hpp. I don't think it's an issue. |
…lper customization points so <sycl/builtins.hpp> no longer needs to include the full <sycl/multi_ptr.hpp> definition. Preserve multi_ptr builtin behavior once multi_ptr.hpp is included, and update include-deps / regression coverage. On a TU including only <sycl/builtins.hpp> we observe 3.5% reduction for host compilation and 21.7% reduction for device compilation.
7e36c5d to
94a4cfc
Compare
sycl/builtins.hpp>no longer needs to include the full <sycl/multi_ptr.hpp> definition. Preservemulti_ptrbuiltin behavior once multi_ptr.hpp is included, and update include-deps / regression coverage.On a TU including only <sycl/builtins.hpp> we observe 3.5% reduction for host compilation and 21.7% reduction for device compilation.