File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525namespace openPMD
2626{}
2727
28- #if defined(CUDA_VERSION) && !defined(OPENPMD_SKIP_CHECK_ISSUE_1720)
29- static_assert (__cplusplus < 202002L || CUDA_VERSION >= 12040 , R"(
30- Cannot use the openPMD-api in C++20 projects under a Cuda version lower
31- than 12.4.0 due to a bug in the implementation of std::variant.
32- Further information at:
33- https://github.com/openPMD/openPMD-api/issues/1720
34- https://forums.developer.nvidia.com/t/nvcc-c-20-std-variant-complie-failed/270162/5
35- This cannot be fixed on our side, please either upgrade to CUDA >= 12.4.0
36- or use C++17.
37- If you think that this assertion is shown wrongly, please apply
38- '#define OPENPMD_SKIP_CHECK_ISSUE_1720' before including
39- '<openPMD/openPMD.hpp>'.
40- )" );
41- #endif
42-
4328// IWYU pragma: begin_exports
4429#include " openPMD/Dataset.hpp"
4530#include " openPMD/Datatype.hpp"
You can’t perform that action at this time.
0 commit comments