Skip to content

Protect complex reduction in real builds. - #4379

Merged
ye-luo merged 2 commits into
QMCPACK:developfrom
ye-luo:fix-icpx
Jan 4, 2023
Merged

ye-luo merged 2 commits into
QMCPACK:developfrom
ye-luo:fix-icpx

Conversation

@ye-luo

@ye-luo ye-luo commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

Proposed changes

Getting llvm-link error in real builds with icpx due to unprotected reduction on complex in offload regions.

What type(s) of changes does this code introduce?

  • Bugfix

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

sunspot

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'

@ye-luo

ye-luo commented Jan 4, 2023

Copy link
Copy Markdown
Contributor Author

Test this please

@prckent prckent left a comment

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.

Q. Since we will likely gain more of these workarounds, how about adding // COMPILER WORKAROUND or similar so that we can find these in future?

@prckent

prckent commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

Test this please

@ye-luo
ye-luo merged commit 0e75f5c into QMCPACK:develop Jan 4, 2023
@ye-luo
ye-luo deleted the fix-icpx branch January 4, 2023 16:41
@ye-luo

ye-luo commented Jan 4, 2023

Copy link
Copy Markdown
Contributor Author

Q. Since we will likely gain more of these workarounds, how about adding // COMPILER WORKAROUND or similar so that we can find these in future?

Added on #4380 which needs a new approval

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.

2 participants