Skip to content

[SYCL] PR 4 - Remove FPGA Attributes from SYCL FE#21756

Merged
KornevNikita merged 2 commits intointel:syclfrom
premanandrao:remote_fpga_pr4
Apr 15, 2026
Merged

[SYCL] PR 4 - Remove FPGA Attributes from SYCL FE#21756
KornevNikita merged 2 commits intointel:syclfrom
premanandrao:remote_fpga_pr4

Conversation

@premanandrao
Copy link
Copy Markdown
Contributor

@premanandrao premanandrao commented Apr 14, 2026

This removes the following attributes:

[[intel::doublepump]]
[[intel::singlepump]]
[[intel::fpga_memory]]
[[intel::fgpa_register]]
[[intel::bankwidth]]
[[intel::numbanks]]
[[intel::private_copies]]
[[intel::merge]]
[[intel::max_replicates]]
[[intel::simple_dual_port]]
[[intel::bank_bits]]
[[intel::force_pow2_depth]]

@premanandrao premanandrao requested a review from a team as a code owner April 14, 2026 02:05
@premanandrao
Copy link
Copy Markdown
Contributor Author

Previous PRs handling other chunks of this change:
#21710
#21722
#21735

Copy link
Copy Markdown
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

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

I'm concerned that these PR's are growing bigger. This one is already 3814 lines.
Otherwise, some dead code is left behind.

Comment thread clang/lib/CodeGen/CGDecl.cpp
Comment on lines 5888 to 5891
SmallString<256> AnnotStr;
CGM.generateIntelFPGAAnnotation(field, AnnotStr);
if (!AnnotStr.empty())
addr = EmitIntelFPGAFieldAnnotations(field, addr, AnnotStr);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here, the whole block is dead code now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

@premanandrao
Copy link
Copy Markdown
Contributor Author

I'm concerned that these PR's are growing bigger. This one is already 3814 lines. Otherwise, some dead code is left behind.

I will try to keep the others smaller. As I started working on this subset, the clique just got bigger.

@premanandrao premanandrao requested a review from Fznamznon April 14, 2026 17:20
@github-actions
Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers please consider merging

@KornevNikita
Copy link
Copy Markdown
Contributor

@premanandrao could you please resolve conflicts

@premanandrao
Copy link
Copy Markdown
Contributor Author

@premanandrao could you please resolve conflicts

@KornevNikita, conflicts have been resolved and the tests are clean again. Thanks!

@KornevNikita KornevNikita merged commit 57aa8ab into intel:sycl Apr 15, 2026
45 of 46 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