-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL] Add code examples for all SYCL FPGA loop attributes #2764
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]>
This is a followup in intel#2715 (comment). This patch improves the documentation by adding code examples for all FPGA loop attributes that we did not have before. Signed-off-by: Soumi Manna <[email protected]>
… into UpdateDocForLoopAttr
Signed-off-by: Soumi Manna <[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.
May be it would be valuable to also add an example like this:
template<int N>
void bar() {
[[intel::loop_attr(N)]] for(;;) { }
}
Signed-off-by: Soumi Manna <[email protected]>
@MrSidims Thanks for looking into this. Yes, i agree with you that it would be valuable to add template examples. I have updated doc with the template exmaples. |
Signed-off-by: Soumi Manna <[email protected]>
This is a follow-up in #2715 (comment)
This patch improves the documentation by adding code examples for all FPGA loop
attributes that we did not have before.
Signed-off-by: Soumi Manna [email protected]