Intel® FPGA RTE for OpenCL™ Pro Edition: 入门指南

ID 683173
日期 3/28/2022
Public
文档目录

3.5.1. 查询FPGA板级的器件名称

某些OpenCL™软件工具命令要求您指定器件名称(<device_name>)。<device_name>是指与FPGA器件对应的acl编号(例如,acl0到acl127)。 当您查询加速器板级的列表时,OpenCL软件会按照器件名称的顺序生成一个安装在机器上的器件的列表。
要查询安装在机器上的器件的列表,请在命令提示符处输入 aocl diagnose
软件生成类似于以下示例的输出:
aocl diagnose: Running diagnostic from <board_package_path>/<board_name>/<platform>/libexec

Verified that the kernel mode driver is installed on the host machine.

Using board package from vendor: <board_vendor_name>
Querying information for all supported devices that are installed on the host machine ...

device_name  Status  Information

acl0         Passed  <descriptive_board_name>
                     PCIe dev_id = <device_ID>, bus:slot.func = 02:00.00,
                       at Gen 2 with 8 lanes.
                     FPGA temperature = 43.0 degrees C.

acl1         Passed  <descriptive_board_name> 
                     PCIe dev_id = <device_ID>, bus:slot.func = 03:00.00,
                       at Gen 2 with 8 lanes.
                     FPGA temperature = 35.0 degrees C.

Found 2 active device(s) installed on the host machine, to perform a full diagnostic on a specific device, please run aocl diagnose <device_name>

DIAGNOSTIC_PASSED