Skip to content

Conversation

ikbuibui
Copy link
Contributor

@ikbuibui ikbuibui commented Jul 25, 2025

Uses index_sequence based parameter pack expansions instead of for loops in DataSpace. Im not sure about this change, because although it helps prevent first constructing and then assigning in many cases, it is harder to read. Also most likely the compiler is quite smart and sees through the for loops, but I haven't looked into the assembly to compare.

Also removes user defined defaulted copy constructor for Selection and DataSpace, as this causes clang to throw a warning

Definition of implicit copy assignment operator for 'Selection<3>' is deprecated because it has a user-declared copy constructor (clang -Wdeprecated-copy)

@ikbuibui ikbuibui added this to the 0.9.0 / next stable milestone Jul 25, 2025
@ikbuibui ikbuibui added the component: PMacc in PMacc label Jul 25, 2025
@ikbuibui ikbuibui force-pushed the dataSpace branch 2 times, most recently from 57e2b0e to 0377312 Compare July 25, 2025 12:23
@ikbuibui ikbuibui requested a review from psychocoderHPC July 25, 2025 12:27
@ikbuibui ikbuibui marked this pull request as draft July 29, 2025 08:16
@ikbuibui ikbuibui marked this pull request as ready for review July 29, 2025 08:17
@ikbuibui
Copy link
Contributor Author

ikbuibui commented Aug 8, 2025

Currently this causes a segfault inside the compiler with gcc11 and cuda 12.1

@ikbuibui ikbuibui marked this pull request as draft August 8, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant