Closed drichmond closed 1 month ago
Forgot to mention: Downgrading to Numpy 1.26.4 also fixes the issue.
Hi Dustin,
Thank you for reporting this, We're tracking this, see https://github.com/Xilinx/PYNQ/pull/1453
Race condition! Do you want me to close?
If it is resolved, please close.
(I think I have it diagnosed)
Numpy added a device getter to ndarray in Version 2.0. (doc, src)
When allocating a buffer on an XRT platform, the default target works just fine because I don't believe it touches the device field of PynqBuffer.
However, when a non-default target for allocation is provided, it fails with the following exception:
If I edit buffer.py and change the name of the device field to ndevice, no exception is thrown, and my code works just fine.