Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JMazo1
Beginner
593 Views

Operating two FPGA boards on a single PC.

I have a machine with a Gigabyte Z370 Aorus Ultra Gaming 2.0 motherboard and two FPGA-based PCIe acceleration Boards, both from Terasic: a DE5-Net and a DE5a-NET-DDR4. I am using two different versions of the Intel OpenCL SDK because the BSPs for these boards were produced with them. Repsectively, they use the Intel OpenCL SDK v18.0 and the Intel OpenCL SDK pro v17.1. The board selection is performed with environment variables and seems to work fine. I am able to run basic examples from the Intel website (hello world, vector add and multithread vector operation) with both of the boards when they are installed alone in the PC. However, when I plug both of them in, the getDevices function form opencl.cpp, based on clGetDeviceIDs from the SDK library, is only able to find on of them, independently of the boards that is configured by the environment variables. I have checked with lspci and the machine is detecting both of them, as shown here:

 

01:00.0 Unassigned class [ff00]: Altera Corporation Device d800 (rev 01)

       Subsystem: Altera Corporation Device 0005

       Flags: bus master, fast devsel, latency 0, IRQ 16

       Memory at e0100000 (64-bit, prefetchable) [size=256K]

       Capabilities: [50] MSI: Enable- Count=1/4 Maskable- 64bit+

       Capabilities: [78] Power Management version 3

       Capabilities: [80] Express Endpoint, MSI 00

       Capabilities: [100] Virtual Channel

       Capabilities: [200] Vendor Specific Information: ID=a000 Rev=0 Len=044 <?>

       Kernel driver in use: aclpci

       Kernel modules: aclpci_drv

 

02:00.0 Processing accelerators: Altera Corporation Device 2494 (rev 01) (prog-if 01)

       Subsystem: Altera Corporation Device 0011

       Flags: bus master, fast devsel, latency 0, IRQ 17

       Memory at e0040000 (64-bit, prefetchable) [size=512]

       Memory at e0000000 (64-bit, prefetchable) [size=256K]

       Capabilities: [50] MSI: Enable- Count=1/4 Maskable- 64bit+

       Capabilities: [78] Power Management version 3

       Capabilities: [80] Express Endpoint, MSI 00

       Capabilities: [100] Virtual Channel

       Capabilities: [200] Vendor Specific Information: ID=1172 Rev=0 Len=044 <?>

       Capabilities: [300] #19

       Kernel driver in use: aclpci_de5a_net_ddr4

       Kernel modules: aclpci_de5a_net_ddr4_drv

 

Any suggestion will be appreciated

Tags (1)
0 Kudos
0 Replies
Reply