Skip to content
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

[SYCL] Enable use of variadic templates in SYCL kernel names. #103

Conversation

alexeyvoronov-intel
Copy link
Contributor

Added support for template parameters pack processing to the
clang::TypeName::getFullyQualifiedTemplateArgument method.

Signed-off-by: Alexey Voronov alexey.voronov@intel.com

@bader
Copy link
Contributor

bader commented Apr 22, 2019

@agozillon, does this patch covers #46?

bader
bader previously approved these changes Apr 22, 2019
@alexeyvoronov-intel alexeyvoronov-intel force-pushed the private/avoronov/fix_intheader_for_temp_pack branch from d5cf909 to 9dbb7d3 Compare April 22, 2019 12:41
@alexeyvoronov-intel
Copy link
Contributor Author

@agozillon, does this patch covers #46?

Test cases from that patch are successfully passed with this patch.

bader
bader previously approved these changes Apr 22, 2019
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

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

@agozillon, does this patch covers #46?

Test cases from that patch are successfully passed with this patch.

Great! @agozillon are you okay if we commit this version instead of #46?

@alexeyvoronov-intel
Copy link
Contributor Author

Those tests are outdated, I updated it. They're here. If it is necessary I can add it.
test_cases_46.txt

@bader
Copy link
Contributor

bader commented Apr 22, 2019

Those tests are outdated, I updated it. They're here. If it is necessary I can add it.
test_cases_46.txt

Do they cover more code than test case in your patch?

@alexeyvoronov-intel
Copy link
Contributor Author

I guess, yes.

@agozillon
Copy link
Contributor

LGTM, better fix than my own, even adds to upstream Clang, I have no problems using this over my own pull request.

If you add the tests I added that'd be nice, but if you don't then that's not a problem either.

Added support for template parameters pack processing to the
clang::TypeName::getFullyQualifiedTemplateArgument method.

Signed-off-by: Alexey Voronov <alexey.voronov@intel.com>
@alexeyvoronov-intel alexeyvoronov-intel force-pushed the private/avoronov/fix_intheader_for_temp_pack branch from 9dbb7d3 to 56ed8f3 Compare April 23, 2019 10:32
@alexeyvoronov-intel
Copy link
Contributor Author

LGTM, better fix than my own, even adds to upstream Clang, I have no problems using this over my own pull request.

If you add the tests I added that'd be nice, but if you don't then that's not a problem either.

Thank you. I will apply your test cases with a little changes.

@romanovvlad romanovvlad merged commit 0e0f400 into intel:sycl Apr 23, 2019
@alexeyvoronov-intel alexeyvoronov-intel deleted the private/avoronov/fix_intheader_for_temp_pack branch May 14, 2019 15:02
vladimirlaz pushed a commit to vladimirlaz/llvm that referenced this pull request Nov 2, 2020
  CONFLICT (content): Merge conflict in clang/test/CodeGen/annotations-field.c
  CONFLICT (content): Merge conflict in clang/lib/CodeGen/CodeGenFunction.cpp
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.

5 participants