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

Fix ambiguous function overload with newer compiler when using streaming AVX ops #729

Merged
merged 12 commits into from
May 30, 2024

Conversation

mlxd
Copy link
Member

@mlxd mlxd commented May 15, 2024

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context: This PR fixes an issue with failed overload acceptance using newer GCC toolchains.

Description of the Change: Adds more overloaded load/store/stream operations for the kernel definitions.

Benefits: Supports newer GCC

Possible Drawbacks:

Related GitHub Issues:

@mlxd
Copy link
Member Author

mlxd commented May 15, 2024

[sc-63398]

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.46%. Comparing base (15096e7) to head (4644836).
Report is 83 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #729      +/-   ##
==========================================
+ Coverage   77.99%   85.46%   +7.47%     
==========================================
  Files          46       66      +20     
  Lines        4695     9029    +4334     
==========================================
+ Hits         3662     7717    +4055     
- Misses       1033     1312     +279     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mlxd mlxd requested review from vincentmr and maliasadi May 15, 2024 20:49
@mlxd mlxd marked this pull request as ready for review May 15, 2024 20:49
Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

I think there is an exclude directive that is broken, but otherwise ready to approve.

.github/workflows/tests_linux_cpp.yml Outdated Show resolved Hide resolved
Copy link
Member

@multiphaseCFD multiphaseCFD left a comment

Choose a reason for hiding this comment

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

Thanks @mlxd . Just one question.

Copy link
Member

@multiphaseCFD multiphaseCFD left a comment

Choose a reason for hiding this comment

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

Thanks @mlxd for that!

Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @mlxd .

@mlxd mlxd merged commit e20b789 into master May 30, 2024
62 checks passed
@mlxd mlxd deleted the bugfix/gcc13_avx_ambiguity branch May 30, 2024 18:56
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.

4 participants