Open doonny opened 3 years ago
@chvamshi-xilinx
We will try to reproduce at our end. 2.6.0 is pretty old release. Can you please switch to the latest release and try once. I am suspecting, this is something related to cache.
@chvamshi-xilinx Is there anyway to update XRT only without changing the customized platform and petalinux image ?
@doonny , You can build XRT RPMs using Petalinux (Petalinux build -c xrt) and install them after boot using dnf install
Hi, I am working on the ZC706 board with MIG (PL-DDR) enabled in a custom vitis platform.
When using clEnqueueMigrateMemObjects to write buffers, the content of the buffers on the device side are not consistent with the memory object pointed by host_ptr. However, when I switched to clEnqueueWriteBuffer, the results are correct.
Followings are the host code that creates and manipulate the buffers:
Codes with clEnqueueMigrateMemObjects API that gives wrong results:
Codes with clEnqueueWriteBuffer that gives correct results:
During the test, other things remains the same.
To make sure that this is only related to MIG, I have also tested the codes and hw with ZC706 base platform and the U50 base platform, on both platforms, both APIs (MergeObjects and WriteBuffers) give the same correct results.
So my guess is that the XRT might not works correctly with MIG (Zynq 7000 version).
Here are more info about the environment and haredware:
Vitis version 2020.1, Platform ZC706, petalinux v2020.1.
And, Is there any way for me to locate the bug more precisely ?