Skip to content

FPGA: Update Tutorials to support Agilex5#2313

Merged
jimmytwei merged 5 commits intooneapi-src:developmentfrom
justin-rosner:development-vendor-seldom
May 2, 2024
Merged

FPGA: Update Tutorials to support Agilex5#2313
jimmytwei merged 5 commits intooneapi-src:developmentfrom
justin-rosner:development-vendor-seldom

Conversation

@justin-rosner
Copy link
Copy Markdown
Contributor

Description

This change adds support for Agilex5 to all the tutorials FPGA samples.

External Dependencies

  • N/A

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Implement fixes for ONSAM Jiras

How Has This Been Tested?

I manually ran all of the tutorials with the Agilex5 flag.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

DEVICE_FLAG is not used by the code sample, it can be removed from CMakeLists.txt. You can leave this for another PR if you like.

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.

I will open a separate PR to handle these changes

@justin-rosner justin-rosner force-pushed the development-vendor-seldom branch from c6169c5 to b8aac93 Compare May 2, 2024 13:18
@justin-rosner justin-rosner requested a review from whitepau May 2, 2024 13:25
Copy link
Copy Markdown

@whitepau whitepau left a comment

Choose a reason for hiding this comment

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

thanks justin

@jimmytwei jimmytwei merged commit 9479810 into oneapi-src:development May 2, 2024
Comment on lines +175 to +178
elseif(DEVICE_FLAG MATCHES Agilex5)
set(FAMILY "Agilex 5")
else()
set(FAMILY "Agilex")
set(FAMILY "Agilex7")
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.

I think that this is incorrect, based on the fact that Agilex 5 and 7 are not written in the same way.
For this sample, I think that this should have been Agilex for when matching both Agilex5 and Agilex7

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.

I'll open up an additional PR to address this issue.

@yuguen yuguen changed the title Update Tutorials to support Agilex5 FPGA: Update Tutorials to support Agilex5 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants