Hi I get the following error when I try executing the vectorAdd opencl sdk sample executable.
$ ./vectorAdd_host FAILED to read auto-discovery string at byte 1: Expected version is 11, found 4 Failed clGetDeviceIDs. Error code: -1 What does this signify ? How should I resolve it? Thanks链接已复制
7 回复数
Have you flashed your board with an .aocx image from the current release you are using? (followed by cold reboot)
Have you properly installed the PCIe driver? Have you built a host executable using the proper libraries from the current release you are using?Hi
I have installed the PCIe driver. This I have confirmed by using the lspci command in linux. I did build the host executable using the make.linux file. I tried flashing the board with the aocx image using the aocl flash command. But I get following error aocl flash -------------------------------------------------------------------- No board flash routine supplied. Please consult your board manufacturer's documentation or support team for information on how to modify the default FPGA image. -------------------------------------------------------------------- I am using the Bitware board. I think this should give the idea of the issue.Hi,
What version of aocl are you using? Did you install the BittWare board development software from the BittWare Developer Site (https://developer.bittware.com/)? What's the output of "aocl diagnostic"?Hi all
Thanks for your help. I am actually using the board remotely. I have confirmed that the board that I am accessing is a Nallatech board. I thought that I was using the bitware board since the device code obtained as a consequence of lspci command was e385, which the getting started documentation on OpenCL indicates to be a Bitware device code. The output of lspci is as follows: $ lspci | grep Altera 03:00.0 Unassigned class [ff00]: Altera Corporation Device e385 (rev 01) How should I interpret the result of the above lspci command ?Hi,
Your flash needs to be reprogrammed with an OpenCL design. The Device ID e385 corresponds to a Nallatech test design and NOT an Altera OpenCL design (device ID is AB00). Please read: http://www.alteraforum.com/forum/showthread.php?t=41749 Thanks