I am trying to use OpenCL code with a Terasic DE5Net FPGA. The code compiles but the host program has errors, When I was trying to troubleshoot I went ahead and used command
aocl diagnostic
which returned the following error:
aocl diagnostic: Running diagnostic from /home/aws4y/altera/13.1/hld/board/terasic/de5net/linux64/bin
running diagnostic for : acl0
FPGA is in user mode. Enabling bridges
Using platform: Altera SDK for OpenCL
Failed clGetDeviceIDs.
Error code: -1
aocl diagnostic: failed.
I do not understand how clGetDeviceIDs fails, I don't think there is a problem with the board but maybe with the configuration. I am trying to use the PCI Express bus with the card is that incorrect? Could it be a configration issue with CentOS or the Altera OpenCL sdk?
-Aaron