[Numpy-discussion] Proposed change from POSIX to PyMem_RawXXX

2021-07-21 Thread Daniel Waddington
Hi, I'm working with Numpy in the context of supporting different memory types such as persistent memory and CXL attached.  I would like to propose a minor change, but figured I would get some initial feedback from the developer community before submitting a PR.   In multiarray/alloc.c the allocato

[Numpy-discussion] Proposed change from POSIX to PyMem_RawXXX (plain text resend)

2021-07-22 Thread Daniel Waddington
s in NumPy that could do with a rinse and repeat - may be someone could advise? Thanks, Daniel Waddington IBM Research --- Example patch for 1.19.x (I'm building with Python3.6) diff --git a/numpy/core/src/multiarray/alloc.c b/numpy/core/src/multiarray/alloc.c index 795fc7315..e9e888478 100