Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

It's not part of the specification and should have never been a public type alias inside bfloat16. There aren't too many uses of it (bfloat16 itself and convertToOpenCLType/vec::convert) so I don't see much value in creating a named type alias.

It's not part of the specification and should have never been a public
type alias inside `bfloat16`. There aren't too many uses of
it (`bfloat16` itself and `convertToOpenCLType`/`vec::convert`) so I
don't see much value in creating a named type alias.
using Bfloat16StorageT
__SYCL_DEPRECATED("bfloat16::Bfloat16StorageT is non-standard and has "
"been deprecated.") = uint16_t;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

We run the risk of removing this as part of the upcoming ABI-break window. Maybe we should have a comment to prevent that from happening? Otherwise there's probably not much point in deprecating it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I say take the risk of breaking someone, because it is unlikely that anyone uses it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm doing it mostly for the trunk users, but I do plan to remove it asap (next major release).

@aelovikov-intel aelovikov-intel merged commit 7365620 into intel:sycl Sep 24, 2025
42 of 44 checks passed
@aelovikov-intel aelovikov-intel deleted the bfloat16-storage branch September 24, 2025 15:44
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.

4 participants