07-19-2019 04:55 AM
device : xilinx_u250_xdma_201830_1
"
Loading: 'QEX.hw.xilinx_u250_xdma_201830_1.xclbin'
ERROR: dlopen of /home/sdx_worspace/QEX/bin/.run/pid/sw_emu/device0/binary_0/dltmp is failed Please check undefined symbols in the kernel
ERROR: failed to load xclbin
./host/QEX_tb.cpp:102 Error calling cl::Program program(context, devices, bins, NULL, &err), error code is : -44
"
I could't get the location infomation of which cause this error.
Who can give me some advice: which report/log shuold read, which part of code is dubious ?
07-31-2019 01:31 AM
How to reproduce the issue?
07-31-2019 06:18 PM - edited 07-31-2019 06:22 PM
08-16-2019 01:48 AM
There may be some errors in the xclbin.
Better to debug the Makefile carefully or try to build the .xo/hw_emu by step to check the Makefile and kernel API.
08-16-2019 02:56 AM
Can you attach the log file for the provided test case?
For the original error you posted (looks to be based on a different design)
Loading: 'QEX.hw.xilinx_u250_xdma_201830_1.xclbin'
ERROR: dlopen of /home/sdx_worspace/QEX/bin/.run/pid/sw_emu/device0/binary_0/dltmp is failed Please check undefined symbols in the kernel
ERROR: failed to load xclbin
./host/QEX_tb.cpp:102 Error calling cl::Program program(context, devices, bins, NULL, &err), error code is : -44
It looks to me the .xclbin generated when TARGET is set to 'hw' is loaded rather than 'sw_emu'.