インテル® FPGA SDK for OpenCL™プロ・エディション: プログラミング・ガイド

ID 683846
日付 4/01/2019
Public
ドキュメント目次

4.3. FPGAボードのデバイス名の照会 (diagnose)

一部のOpenCL™ソフトウェア・ユーティリティー・コマンドには、デバイス名 (<device_name>) を指定する必要があります。<device_name> は、FPGAデバイスに対応するacl番号を参照します (例えばacl0からacl127)。 アクセラレーター・ボードのリストを照会すると、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