-
Notifications
You must be signed in to change notification settings - Fork 787
[Test][SYCL] Add test to verify SPIR kernel argument names #5819
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
Conversation
This is a follow-up to PR#5772. This test verifies that user specified names are retained in openCL kernel argument. Please note that the names were already retained (prior to PR#5772) when kernel was specified as a functor. PR#5722 added code to ensure the same behavior when kernel is specified using lambda. Signed-off-by: Elizabeth Andrews <[email protected]>
When working on test I realized compiler generated name can be improved for base classes as well. At the moment, they all have same name _arg__base. I will work on it as a follow-up PR. |
Signed-off-by: Elizabeth Andrews <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Why adding a test would be a [NFC]? |
I guess there might be different interpretations of what "functional change" means.
I think I've seen some folks are using |
Yes, adding a test add a new function to the global testing infrastructure. |
Changed [NFC] to [Test]. @keryell, are you okay with that change? |
I am very supportive to this great improvement to the quality of this project ! :-) |
Thanks for the information. I didn't know we were supposed to use [Test] tag for tests. I used [NFC] because PR didn't change existing compiler behavior |
This is a follow-up to PR#5772. This test verifies that
user specified names are retained in SPIR kernel argument.
Please note that the names were already retained (prior to
PR#5772) when kernel was specified as a functor. PR#5722 added
code to ensure the same behavior when kernel is specified using
lambda.
Signed-off-by: Elizabeth Andrews [email protected]