-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unique_ptr overloads for storeChunk calls (#1294)
* Add OpenpmdUniquePtr class * Prepare IOTask.hpp for a non-copyable parameter Refactor ::clone() to ::to_heap(), also make copy/move constructors/operators in AbstractParameter protected instead of deleting them. * Backend fully prepared for accepting unique_ptr buffers No optimizations based on that yet * Add storeChunk(OpenpmdUniquePtr, ...) overload * Fix invasive tests * Add test for ADIOS2 backend optimization Not yet implemented, so test fails * Implement ADIOS2 backend optimization * Support also regular std::unique_ptr * CI fixes * Use OpenpmdUniquePtr with storeChunk in an example * Rename OpenpmdUniquePtr -> UniquePtrWithLambda
- Loading branch information
1 parent
f883f8e
commit 9a215b2
Showing
22 changed files
with
905 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.