Skip to content

[SYCL] Compile time/remove vec convert from builtins#21698

Draft
koparasy wants to merge 2 commits intointel:syclfrom
koparasy:compile-time/remove-vec-convert-from-builtins
Draft

[SYCL] Compile time/remove vec convert from builtins#21698
koparasy wants to merge 2 commits intointel:syclfrom
koparasy:compile-time/remove-vec-convert-from-builtins

Conversation

@koparasy
Copy link
Copy Markdown
Contributor

@koparasy koparasy commented Apr 7, 2026

Stop pulling vec::convert in through SYCL builtin headers by using a local relational mask widening path and a public sycl/vector_convert.hpp wrapper for opt-in conversion support.

This reduces header dependencies and improves compile time by about 9.3% for host compilation and 7.5% for device compilation when including <sycl/builtin.hpp>

@koparasy koparasy changed the title Compile time/remove vec convert from builtins [SYCL] Compile time/remove vec convert from builtins Apr 7, 2026
@koparasy koparasy force-pushed the compile-time/remove-vec-convert-from-builtins branch from 046824f to ea1856e Compare April 10, 2026 18:17
Stop pulling vec::convert in through SYCL builtin headers by using a
local relational mask widening path and a public sycl/vector_convert.hpp
wrapper for opt-in conversion support.

This reduces header dependencies and improves compile time by about 9.3%
for host compilation and 7.5% for device compilation on simple translation unit.
@koparasy koparasy force-pushed the compile-time/remove-vec-convert-from-builtins branch from ea1856e to b6367fd Compare April 10, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant