Skip to content

Conversation

@franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented Nov 14, 2025

Close #1720

Enabled mostly by #1774, the refactorings therein make it possible to workaround the issues that some Cuda versions have with std::variant in C++20.
Only need to hide one further std::variant from public headers.

TODO:

  • Check if we can instead keep WriteBuffer the same, but keep it from public headers. Might also be possible. Update: Eehh maybe not

@franzpoeschel franzpoeschel force-pushed the fix-variant-in-public-headers branch from fc091b1 to 308b91a Compare November 21, 2025 12:05
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

LGTM, please just rename MovableUniquePtr to Copyable... and then it can go.

@franzpoeschel franzpoeschel force-pushed the fix-variant-in-public-headers branch from 308b91a to 05a2c98 Compare December 3, 2025 16:11
@franzpoeschel franzpoeschel enabled auto-merge (squash) December 3, 2025 16:15
@franzpoeschel franzpoeschel merged commit 0dc2d71 into openPMD:dev Dec 3, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CUDA < 12.4.1 bug affects use of openPMD-api in C++20 projects

2 participants