Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Mar 20, 2023

`amrex::DefaultAllocator` is not properly resolved as the
same type on Windows in pybind11.
@ax3l ax3l force-pushed the fix-allocator-aliases-windows branch 2 times, most recently from 9a5bd21 to 3784304 Compare March 22, 2023 07:21
Comment on lines +131 to +133
// work-around for https://github.com/pybind/pybind11/pull/4581
//make_ArrayOfStructs<NReal, NInt, std::allocator> (m, "std");
//make_ArrayOfStructs<NReal, NInt, amrex::ArenaAllocator> (m, "arena");

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
Comment on lines +53 to +55
// work-around for https://github.com/pybind/pybind11/pull/4581
//make_StructOfArrays<NReal, NInt, std::allocator>(m, "std");
//make_StructOfArrays<NReal, NInt, amrex::ArenaAllocator>(m, "arena");

Check notice

Code scanning / CodeQL

Commented-out code

This comment appears to contain commented-out code.
@ax3l ax3l force-pushed the fix-allocator-aliases-windows branch from 3784304 to 12d8b3d Compare March 22, 2023 15:28
... and skip what it stands for.
@ax3l ax3l force-pushed the fix-allocator-aliases-windows branch from 12d8b3d to 023ea80 Compare March 22, 2023 16:25
@ax3l ax3l merged commit 786e1b2 into AMReX-Codes:development Mar 22, 2023
@ax3l ax3l deleted the fix-allocator-aliases-windows branch March 22, 2023 22:07
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.

1 participant