Skip to content

FPGA: use DEFINED in cmake to allow for values set to 0 #1025

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

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

yuguen
Copy link
Contributor

@yuguen yuguen commented Aug 5, 2022

Existing Sample Changes

Description

This change changes how the cmake files in the qrd/qri/cholesky/cholesky_inversion designs check if cmake variables are defined.
It used to check if a cmake variable was defined using if(<VAR>) ... which was ignored if that variable was set to 0.
This change therefore checks for such variables using if(DEFINED <VAR>) which allows for this variable to be defined, and equal to 0.

Fixes Issue#

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

Signed-off-by: Yohann Uguen <yohann.uguen@intel.com>
@jimmytwei jimmytwei merged commit 90264bd into oneapi-src:master Aug 5, 2022
@yuguen yuguen deleted the setters branch September 22, 2023 09:55
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.

2 participants