[SYCL] Add code examples for all SYCL FPGA loop attributes#2764
Merged
bader merged 6 commits intointel:syclfrom Nov 16, 2020
Merged
[SYCL] Add code examples for all SYCL FPGA loop attributes#2764bader merged 6 commits intointel:syclfrom
bader merged 6 commits intointel:syclfrom
Conversation
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
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 <soumi.manna@intel.com>
… into UpdateDocForLoopAttr
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
MrSidims
previously approved these changes
Nov 12, 2020
Contributor
MrSidims
left a comment
There was a problem hiding this comment.
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 <soumi.manna@intel.com>
Contributor
Author
@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. |
MrSidims
reviewed
Nov 12, 2020
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
MrSidims
approved these changes
Nov 16, 2020
Fznamznon
approved these changes
Nov 16, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 soumi.manna@intel.com