Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
30 Views

ERROR: Unable to find Intel(R) FPGA OpenCL platform.

I am trying to use Vector_Add example on DE5-Net board. I have installed the board and driver:

argus@argus-R815:/tools/intelFPGA/18.0/hld/board/trasic/de5net/tests/hello_world/bin$ aocl diagnose acl0   Verified that the kernel mode driver is installed on the host machine.   Using platform: Intel(R) FPGA SDK for OpenCL(TM) Using Device with name: de5net_a7 : Stratix V Reference Platform Using Device from vendor: Terasic Corporation clGetDeviceInfo CL_DEVICE_GLOBAL_MEM_SIZE = 4294967296 clGetDeviceInfo CL_DEVICE_MAX_MEM_ALLOC_SIZE = 4293918720 Memory consumed for internal use = 1048576 Actual maximum buffer size = 4293918720 bytes Writing 4095 MB to global memory ... Allocated 1073741824 Bytes host buffer for large transfers Write speed: 1653.98 MB/s [1638.95 -> 1675.05] Reading and verifying 4095 MB from global memory ... Read speed: 2782.46 MB/s [2711.98 -> 2834.36] Successfully wrote and readback 4095 MB buffer   Transferring 8192 KBs in 16 512 KB blocks ... 2132.20 MB/s Transferring 8192 KBs in 8 1024 KB blocks ... 2104.56 MB/s Transferring 8192 KBs in 4 2048 KB blocks ... 2409.16 MB/s Transferring 8192 KBs in 2 4096 KB blocks ... 2464.97 MB/s Transferring 8192 KBs in 1 8192 KB blocks ... 2434.57 MB/s   PCIe Gen2.0 peak speed: 500MB/s/lane   Writing 8192 KBs with block size (in bytes) below:   Block_Size Avg Max Min End-End (MB/s) 524288 1311.04 1378.31 1206.57 1298.08 1048576 1254.97 1273.45 1210.70 1240.19 2097152 1492.40 1514.03 1461.30 1486.56 4194304 1391.88 1538.58 1270.71 1388.96 8388608 1421.76 1421.76 1421.76 1421.76   Reading 8192 KBs with block size (in bytes) below:   Block_Size Avg Max Min End-End (MB/s) 524288 2120.88 2132.20 2082.38 2087.76 1048576 1832.88 2104.56 1624.22 1805.95 2097152 1747.08 2409.16 1022.37 1734.76 4194304 2337.15 2464.97 2221.92 2333.15 8388608 2434.57 2434.57 2434.57 2434.57   Write top speed = 1538.58 MB/s Read top speed = 2464.97 MB/s Throughput = 2001.78 MB/s   DIAGNOSTIC_PASSED

But when I run the host application, it can't find the platform.

argus@argus-R815:/tools/intelFPGA/18.0/hld/board/trasic/de5net/tests/vector_add/bin$ aocl program acl0 vector_add.aocx aocl program: Running program from /tools/intelFPGA/18.0/hld/board/trasic/de5net/linux64/libexec Start to program the device acl0 ... Program succeed. argus@argus-R815:/tools/intelFPGA/18.0/hld/board/trasic/de5net/tests/vector_add/bin$ ./host Initializing OpenCL ERROR: Unable to find Intel(R) FPGA OpenCL platform.

What am I missing here?

 

0 Kudos