インテル® FPGA SDK for OpenCL™: スタート・ガイド

ID 683188
日付 12/08/2017
Public
ドキュメント目次

2.8.1. FPGA ボードのデバイス名の照会3.8.1. FPGA ボードのデバイス名の照会

一部の OpenCL ユーティリティー・コマンドでは、デバイス名 (<device_name>) を指定する必要があります。<device_name> は、FPGA デバイスに対応する acl 番号 ( 例 :acl0 ~ acl31) を参照します。 アクセラレーター・ボードのリストを照会すると、OpenCL ソフトウェアはデバイス名の順にマシンにインストールされたリストを生成します。
マシンにインストールされたデバイスのリストを照会するには、コマンドプロンプトで aocl diagnose と入力します。
ソフトウェアは次のような出力例を生成します。
aocl diagnose: Running diagnostic from ALTERAOCLSDKROOT/board/<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