OpenCL* on Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA快速入门用户指南

ID 683831
日期 12/04/2018
Public

8.4. 运行可执行文件(Running the Executable)

在运行主机(host)前,必须要有已编译的 OpenCL* kernel和host。
要在硬件上运行主机程序,需输入以下命令来运行bin目录下名为host的可执行文件:
$ ./bin/host
输出显示类似如下:
Using AOCX:fft2d.aocx

Reprogramming device [0] with handle 1
Launching FFT transform (ordered data layout)
Kernel initialization is complete.
	Processing time= 3.0598ms
	Throughput= 0.3427 Gpoints/sec (34.2690 Gflops)
	Signal to noise ratio on output sample: 137.231003 → PASSED

Launching inverse FFT transform (ordered data layout)
Kernel initialization is complete.
	Processing time= 3.0628ms
	Throughput= 0.3424 Gpoints/sec (34.2364 Gflpos)
	Signal to noise ration on output sample: 136.860797 → PASSED

Launching FFT transform (alternative data layout)
Kernel initialization is complete.
	Processing time= 2.2904ms
	Throughput= 0.4578 Gpoints/sec (45.7821 Gflops)
	Signal to noise ration on output sample: 137.435876 → PASSED

Launching inverse FFT transform (alternative data layout)
Kernel initialization is complete.
	Processing time= 2.3253ms
	Throughput= 0.4509 Gpoints/sec (45.0934 Gflops)
	Signal to noise ration on output sample: 136.689050 → PASSED