Forum Discussion

ron_doge's avatar
ron_doge
Icon for New Contributor rankNew Contributor
13 days ago

Does the FPGA N3000 support OpenCL and OneApi?

I received an INTEL FPGA PAC N3000 card, and taking the opportunity, I decided to learn how to develop with SYCL and oneAPI.

However, I ran into problems. I fully installed the FPGA PAC N3000 Acceleration Stacks v1.3.1 and also updated the board's BMC from D.1.0.12 to D.2.0.19.

Then I started configuring oneAPI 2022 using intel-basekit and fpga-addon, but proper configuration requires bsp, and I couldn't find it anywhere. I also saw that on the website page for Quartus Prime Pro 19.2, which is installed with IAS 1.3.1, there's a tab with oneAPI and BSPs for boards. I looked at other versions, but I only found mentions of Arria 10-GX and Arria 10-SX.

I'm not sure if this will help, but the log is from CentOS 7.6.1810.

[root@node-fpga ~]# fpgainfo fme
Board Management Controller, MAX10 NIOS FW version D.2.0.19
Board Management Controller, MAX10 Build version D.2.0.6
//****** FME ******//
Object Id                     : 0xF300000
PCIe s:b:d.f                  : 0000:84:00.0
Device Id                     : 0x0b30
Numa Node                     : 1
Ports Num                     : 01
Bitstream Id                  : 0x23000110010309
Bitstream Version             : 0.2.3
Pr Interface Id               : f3c99413-5081-4aad-bced-07eb84a6d0bb
Boot Page                     : user
[root@node-fpga ~]# fpgainfo bmc
Board Management Controller, MAX10 NIOS FW version D.2.0.19
Board Management Controller, MAX10 Build version D.2.0.6
//****** BMC SENSORS ******//
Object Id                     : 0xF300000
PCIe s:b:d.f                  : 0000:84:00.0
Device Id                     : 0x0b30
Numa Node                     : 1
Ports Num                     : 01
Bitstream Id                  : 0x23000110010309
Bitstream Version             : 0.2.3
Pr Interface Id               : f3c99413-5081-4aad-bced-07eb84a6d0bb
( 1) Board Power                  : 59.65 Watts
( 2) 12V Backplane Current        : 2.91 Amps
( 3) 12V Backplane Voltage        : 11.92 Volts
( 4) 1.2V Voltage                 : 1.20 Volts
( 6) 1.8V Voltage                 : 1.80 Volts
( 8) 3.3V Voltage                 : 3.27 Volts
(10) FPGA Core Voltage            : 0.90 Volts
(11) FPGA Core Current            : 14.47 Amps
(12) FPGA Core Temperature        : 62.50 Celsius
(13) Board Temperature            : 42.00 Celsius
(14) QSFP A Voltage               : N/A
(15) QSFP A Temperature           : N/A
(24) 12V AUX Current              : 2.08 Amps
(25) 12V AUX Voltage              : 11.97 Volts
(37) QSFP B Voltage               : N/A
(38) QSFP B Temperature           : N/A
(44) Retimer A Core Temperature   : 63.00 Celsius
(45) Retimer A Serdes Temperature : 64.00 Celsius
(46) Retimer B Core Temperature   : 0.00 Celsius
(47) Retimer B Serdes Temperature : 0.00 Celsius
[root@node-fpga ~]# aoc -list-boards
Board list:
  pac_a10 (default)
     Board Package: /opt/intel/oneapi/compiler/2022.2.1/linux/lib/oclfpga/board/intel_a10gx_pac

  pac_s10
     Board Package: /opt/intel/oneapi/compiler/2022.2.1/linux/lib/oclfpga/board/intel_s10sx_pac

  pac_s10_usm
     Board Package: /opt/intel/oneapi/compiler/2022.2.1/linux/lib/oclfpga/board/intel_s10sx_pac
     Memories:      device, host

[root@node-fpga ~]# aocl list-devices
--------------------------------------------------------------------
Device Name:
acl0

BSP Install Location:
/opt/intel/oneapi/compiler/2022.2.1/linux/lib/oclfpga/board/intel_a10gx_pac

Vendor: Intel Corp

Physical Dev Name   Status            Information

pac_f200000         Uninitialized     OpenCL BSP not loaded. Must load BSP using command:
                                      'aocl program <device_name> <aocx_file>'
                                      before running OpenCL programs using this device

DIAGNOSTIC_PASSED
--------------------------------------------------------------------
[root@node-fpga ~]# aocl initialize acl0 pac_a10
aocl initialize: Running initialize from /opt/intel/oneapi/compiler/2022.2.1/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/libexec
bitstream.c:391:validate_bitstream_metadata() **ERROR** : Interface ID check failed
Error writing bitstream to FPGA: invalid parameter
Error programming device
aocl initialize: Program failed.
[root@node-fpga ~]#

 

No RepliesBe the first to reply