I'm trying to run Intel's FPGA OpenCL design examples on Arria-10 card. I've been using SDK environment 16.1 so far and it showed memory leak with valgrind tool. So we decided to upgrade our environment to 17.1. BSP and compiler has been updated I could run hello_word code on new version. However, I'm not able to run valgrind tool, it shows:
MMD ERROR: Unable to find an unused signal number
Querying platform for info:
CL_PLATFORM_NAME = Intel(R) FPGA SDK for OpenCL(TM)
CL_PLATFORM_VENDOR = Intel(R) Corporation
CL_PLATFORM_VERSION = OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 17.1
Query for number of devices failed
Is it linking error or something else? Kindly suggest possible issue/solution
Please make sure that you have set the environment variables correctly.
Please compare the previous working values of environment variables and current one,
for example variables like CL_CONTEXT_EMULATOR_DEVICE_ALTERA should be properly set.
Thanks and Regards
Thanks for your suggestion. I'll to ensure env variables are passed to valgrind and how it worked for previous version.
I'm running .aocx compiled on board and not the emulator mode, so could you please mention relevant variable I should check.
What does 'MMD ERROR: Unable to find an unused signal number' indicate?
strace command on valgrind shows 'aocl-pro-rte/host/linux64/lib/tls/x86_64/libc.so.6' being used. Any device specific library not set properly?
I tried to keep both env variables Altera & Intel but no change.
strace tool shows libnalla_pcie_mmd.so is being opened multiple times unlike without valgrind run.
Any change is expected below lines of board_env.xml or board_env.icd file?
Please keep posted if you managed to run Valgrind test on FPGA (not emulator) for any SDK version beyond 16.1, best if you have tested 385A card.