xtensor icon indicating copy to clipboard operation
xtensor copied to clipboard

[Question] Is there an easy path to point the XSIMD allocator at std::pmr or a custom memory pool?

Open spectre-ns opened this issue 2 years ago • 1 comments

I want to be more flexible in my memory usage in my program's hot path. To do this I need to point xtensor allocations at a memory pool ideally also using xsimd.

Thoughts?

spectre-ns avatar Jul 05 '23 22:07 spectre-ns

When I try to use a std::pmr::polymorphic_allocator with xtensor I get compiler errors on the deleted copy constructor?

spectre-ns avatar Jul 17 '23 11:07 spectre-ns