I am trying to modify and get the host pipes example to run on devcloud, specifically an Arria 10 1.2.1 node.
As prescribed in the programming guide I am using the clGetBoardExtensionFunctionAddressIntelFPGA function to find the map and unmap functions. I have included the header "CL/cl_ext_intelfpga.h' and it compiles, but fails during linking.
The exact error is:
main.cpp:(.text.startup+0x50e): undefined reference to `clGetBoardExtensionFunctionAddressIntelFPGA'
main.cpp:(.text.startup+0x52b): undefined reference to `clGetBoardExtensionFunctionAddressIntelFPGA'
collect2: error: ld returned 1 exit status
Is there another file I need to link to beyond what is returned by aocl link-config or is there possibly a BSP issue?
Thanks for the help.