[Numpy-discussion] memmap from fd?

Neal Becker ndbecker2 at gmail.com
Fri Jan 9 07:05:02 EST 2009


I'm working on interfacing to a custom FPGA board.  The kernel driver exposes the FPGA memory via mmap.

It might be nice to use numpy memmap to read/write data.  One issue is that I think I will need to create the memmap array from a fd, not a file name.  The reason is I wrote the driver to only allow 1 exclusive open, and I already have it open for other reasons.  Any chance to create a memmap array from a fd?




More information about the NumPy-Discussion mailing list