Why do I get the following error : "buffer (1) is not resident in device (0) so migration from device to host fails" ? #412
Labels
Generic Questions
Issues that are not related to a specific tutorial
Hi,
I have followed the following tutorial that introduced me to the kernel : https://github.com/Xilinx/Vitis_Accel_Examples/tree/main/cpp_kernels/simple_vadd
I sucessfully make it work on my Vck190 board and now i tried to do someting really close by modifying the host code and the kernel.
Here's the code of HLs top function krnl_dwtfix
krnl_dwtfix.cpp:
This one seems to work when launching the testbench the results are good.
And then here's the part in the host code where I tried to launch the kernel :
The software and hardware emulation works and compile but when I tried to launch the hw_emulation, I got the following messages in the console and then the program stop :
By using gdb I found that the error comes from the line :
But i don't know why it isn't working, does someone has an idea ?
Thanks in advance for your help,
David
The text was updated successfully, but these errors were encountered: