-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][FPGA] Allow use_stall_enable_clusters attribute to kernel #4031
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
Signed-off-by: Soumi Manna <[email protected]>
Signed-off-by: Soumi Manna <[email protected]>
Signed-off-by: Soumi Manna <[email protected]>
I have conversation with @mendell27. The attribute |
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.
Can you please include a test that shows that your comment in AttrDocs.td is true?
@erichkeane, Thanks for the review. I have already a test for this for both CodeGen and SemaSYCL:
|
The test is not showing on the diff because it is an existing test in sema. I did not add any new one for the current diff. So Sema test is still there.
|
Signed-off-by: Soumi Manna <[email protected]>
Signed-off-by: Soumi Manna <[email protected]>
@erichkeane, i have updated tests. Added comments and showed that If |
Thanks @erichkeane for the review. |
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
Thanks @AaronBallman for the review and merge. |
Sorry for merging before the review from @elizabethandrews arrived! Please address those concerns in a follow-up PR. |
Thanks @elizabethandrews for the reviews. I will address all your comments in a follow-up patch (they are mostly NFC changes). |
@elizabethandrews, i have addressed all your review comments and created PR is here: #4060 |
This patch collects and applies the FPGA attribute intel::use_stall_enable_clusters to the callers/SYCL kernel if directly applied through functors/lambda function.
The attribute has to be applicable to all functions, which can include the SYCL kernels and must not be propagated up to the caller/SYCL kernel when called from a function.
This patch fixes FPGA emulator bug that was introduced on #3900.
Signed-off-by: Soumi Manna [email protected]