Skip to content

[SYCL] Fix AccessorSubscript windows build issue #6648

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 1 commit into from
Aug 26, 2022

Conversation

AidanBeltonS
Copy link
Contributor

This PR fixes an issue caused when building on Windows with MSVC. The problem was introduced in #6341.
MSVC does not correctly infer the default template for its return type. This is fixed by setting the return type to auto and letting the compiler infer the return type.

@steffenlarsen
Copy link
Contributor

CI failure is due to configuration hiccup. Merging this.

@steffenlarsen steffenlarsen merged commit 1b17d17 into intel:sycl Aug 26, 2022
@AidanBeltonS AidanBeltonS deleted the fix_accessor_subscript branch August 29, 2022 08:25
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