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

Refactor constructField #761

Merged
merged 2 commits into from
Jan 21, 2024

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Aug 9, 2023

This PR refactors the implementation of constructField. An issue with MSVC was uncovered during this refactoring, and solved by enabling the newer lambda processor in MSVC, which is used by default in C++20.

Copy link

codecov bot commented Jan 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c7d9806) 98.73% compared to head (6e6c41b) 98.73%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #761   +/-   ##
========================================
  Coverage    98.73%   98.73%           
========================================
  Files           70       70           
  Lines         6896     6898    +2     
========================================
+ Hits          6809     6811    +2     
  Misses          87       87           

The legacy lambda processor has problems parsing some lambda functions in LLAMA, like polymorphic lambdas with attributes, e.g. used in constructField.
@bernhardmgruber bernhardmgruber merged commit 5cfc8d0 into alpaka-group:develop Jan 21, 2024
30 of 31 checks passed
@bernhardmgruber bernhardmgruber deleted the ref_construct branch January 21, 2024 19:19
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.

1 participant