Skip to content

[NFC][SYCL] Cache aspects that call has_extension #18546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 21, 2025

Conversation

aelovikov-intel
Copy link
Contributor

That call requires string comparison which isn't trivial. On the other hand, querying supported extensions is going to happen anyway, so it makes sense to eagerly initialize everything extensions-related in the device_impl ctor.

That call requires string comparison which isn't trivial. On the other
hand, querying supported extensions is going to happen anyway, so it
makes sense to eagerly initialize everything extensions-related in the
`device_impl` ctor.
@aelovikov-intel aelovikov-intel marked this pull request as draft May 19, 2025 20:30
@aelovikov-intel
Copy link
Contributor Author

aelovikov-intel commented May 20, 2025

Standalone reproducer(s) for what is supposedly an MSVC's bug:

https://godbolt.org/z/s6bP6qK4f

@StephanTLavavej could you please pass this to the MSVC compiler team? The reproducer is 100% standalone (<30 lines, no includes). Not going to go through MSFT account creation just to submit a bug report.

@StephanTLavavej
Copy link
Contributor

could you please pass this to the MSVC compiler team?
Not going to go through MSFT account creation just to submit a bug report.

I respectfully decline. I maintain the C++ Standard Library, not the compiler. I'll typically accept and file STL bug reports (with actionable repros, within reason) through any channel because they'll land on my desk anyways, but it's not my job to handle compiler bug reports. Because I love C++ so much, I occasionally spend extra time to submit or escalate compiler bug reports as a favor to the community, but I don't appreciate being expected to do so, just so you can save a little effort.

It's not even optimal for me to report compiler bugs. The VS Developer Community site is set up to prioritize bug reports according to user votes and the account addresses of submitters. If you create an account with your work email address, bug reports will be given a significantly higher priority than anything I can submit, as counter-intuitive as that may seem.

@aelovikov-intel aelovikov-intel marked this pull request as ready for review May 20, 2025 19:54
Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

LGTM overall

@uditagarwal97 uditagarwal97 self-requested a review May 21, 2025 18:36
@aelovikov-intel
Copy link
Contributor Author

aelovikov-intel commented May 21, 2025

It seems failures are being fixed in #18600 and #18602.

@aelovikov-intel aelovikov-intel merged commit 72b92c3 into intel:sycl May 21, 2025
21 of 24 checks passed
@aelovikov-intel aelovikov-intel deleted the cache-ext-aspects branch May 21, 2025 20:08
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.

3 participants