Skip to content

Use named functor instead of extended lambda to circumvent fp_copier memory coalescing nvcc bug - #609

Merged
aliemen merged 1 commit into
masterfrom
fix-assignment-operator-memory-coalescing
Oct 1, 2026
Merged

aliemen merged 1 commit into
masterfrom
fix-assignment-operator-memory-coalescing

Conversation

@aliemen

@aliemen aliemen commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

This is the exact same bug as #564 and needed for OPALX. See this PR for an explanation.

This PR changes particle attribute assignment from an extended lambda to a named functor. Performance wise this change should be equivalent and not make a difference, similar to #564. This PR is needed to merge fixes for OPALX, see OPALX-project/OPALX#571.

@aliemen
aliemen requested a review from aaadelmann October 1, 2026 13:01
@aliemen aliemen self-assigned this Oct 1, 2026
@aliemen aliemen added bug Something isn't working gitlab-mirror labels Oct 1, 2026
@aliemen
aliemen enabled auto-merge October 1, 2026 13:04
@aliemen
aliemen added this pull request to the merge queue Oct 1, 2026
Merged via the queue into master with commit 66accf2 Oct 1, 2026
10 checks passed
@aliemen
aliemen deleted the fix-assignment-operator-memory-coalescing branch October 1, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working gitlab-mirror

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants