10000 would like numpy to add a hook when it allocates arrays · Issue #14 · Quansight/pnumpy · GitHub
[go: up one dir, main page]

Skip to content
would like numpy to add a hook when it allocates arrays #14
@tdimitri

Description

@tdimitri

This issue may belong in another place but for tracking purposes I added it here.
It would be nice if numpy not only allocated on 32byte or 64byte boundaries, but did so in an official way (often leaving magic markers to the memory just behind the original pointer) that could be hooked.
This would allow a new array memory allocator to hook how numpy arrays are allocated offering features such as array recycling or numa node allocations.

In the future it could be used to allocate arrays that span multiple computers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    numpy changesfixing this requires support from numpy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0