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][FPGA] Add AST tests for loop attributes #11428

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

smanna12
Copy link
Contributor

@smanna12 smanna12 commented Oct 4, 2023

This patch adds AST tests which we did not have before for the FPGA Loop Attributes below:

  1. [[intel::max_interleaving()]]
  2. [[intel::loop_coalesce]]
  3. [[intel::max_concurrency()]]
  4. [[intel::initiation_interval()]],
  5. [[intel::speculated_iterations()]].

Signed-off-by: Soumi Manna <soumi.manna@intel.com>
Signed-off-by: Soumi Manna <soumi.manna@intel.com>
@smanna12 smanna12 temporarily deployed to WindowsCILock October 4, 2023 20:29 — with GitHub Actions Inactive
@smanna12 smanna12 marked this pull request as ready for review October 4, 2023 20:31
@smanna12 smanna12 requested a review from a team as a code owner October 4, 2023 20:31
@smanna12 smanna12 temporarily deployed to WindowsCILock October 4, 2023 21:31 — with GitHub Actions Inactive
@smanna12
Copy link
Contributor Author

smanna12 commented Oct 9, 2023

@intel/dpcpp-cfe-reviewers, please review. Thank you

[[intel::enable_loop_pipelining]] for (int n : c) { n *= 2; }
}

void fpga_max_concurrency() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we not have these (and following) tests already?

Copy link
Contributor Author

@smanna12 smanna12 Oct 10, 2023

Choose a reason for hiding this comment

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

Thanks @elizabethandrews for reviews. We did not have any AST tests for the FPGA Loop Attributes below:

[[intel::max_interleaving()]]
[[intel::loop_coalesce]]
[[intel::max_concurrency()]]
[[intel::initiation_interval()]],
[[intel::speculated_iterations()]].

Also some of other FPGA LOOP attributes that we did not have AST test which i plan to add later.

@smanna12
Copy link
Contributor Author

ping @elizabethandrews. Thank you

@againull againull merged commit 718a80a into intel:sycl Oct 24, 2023
12 checks passed
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.

3 participants