Skip to content

[SYCL] Split sycl::half into an internal impl header#21832

Open
koparasy wants to merge 2 commits intointel:syclfrom
koparasy:compile-time/split-half-type
Open

[SYCL] Split sycl::half into an internal impl header#21832
koparasy wants to merge 2 commits intointel:syclfrom
koparasy:compile-time/split-half-type

Conversation

@koparasy
Copy link
Copy Markdown
Contributor

Depends on #21821

@koparasy koparasy changed the title [Split] sycl::half into an internal impl header [SYCL] Split sycl::half into an internal impl header Apr 21, 2026
Move the sycl::half implementation into detail/half_type_impl.hpp and keep
sycl/half_type.hpp as the public wrapper for stream operators and std::hash.

This lets internal headers, including builtins, depend on the half
implementation without pulling in the full public half header that relies on
std::optional and iostream.

This reduces compile time by another 30ms on builtins.
@koparasy koparasy force-pushed the compile-time/split-half-type branch from 48ef4bb to 8f5fe4d Compare April 21, 2026 17:23
@koparasy koparasy marked this pull request as ready for review April 21, 2026 17:23
@koparasy koparasy requested review from a team as code owners April 21, 2026 17:23
@koparasy koparasy requested a review from uditagarwal97 April 21, 2026 17:23
Copy link
Copy Markdown
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esimd lgtm

@sarnex sarnex requested a review from a team April 21, 2026 18:13
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.

2 participants