Skip to content

[SYCL] Add missing iterator header for std::back_inserter #6329

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
Jun 20, 2022
Merged

[SYCL] Add missing iterator header for std::back_inserter #6329

merged 1 commit into from
Jun 20, 2022

Conversation

HaohaiWen
Copy link
Contributor

No description provided.

@HaohaiWen HaohaiWen requested a review from a team as a code owner June 20, 2022 12:29
@HaohaiWen
Copy link
Contributor Author

error: no member named 'back_inserter' in namespace 'std'
std::transform(Arr.begin(), Arr.end(), std::back_inserter(CArr),
~~~~~^

make[2]: *** [tools/sycl/tools/sycl-prof/CMakeFiles/sycl-prof.dir/main.cpp.o] Error 1

@steffenlarsen steffenlarsen merged commit c73f0d5 into intel:sycl Jun 20, 2022
@HaohaiWen HaohaiWen deleted the fix-header branch June 20, 2022 15:22
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