Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jliu32
Beginner
146 Views

Multiple FPGAs with OpenVINO

Suppose I have more than one Arria 10 Development Kits installed on the motherboard, how can I select which board to use for a given inference request?

0 Kudos
4 Replies
Monique_J_Intel
Employee
146 Views

Hi James,

To use multiple FPGAs you can do so by specifying the KEY_DEVICE_ID and the number. In this example I have 2 FPGAs:

ExecutableNetwork  excutable_network1 = plugin.LoadNetwork(network, {InferenceEngine::PluginConfigParams::KEY_DEVICE_ID, "0"});
ExecutableNetwork  excutable_network1 = plugin.LoadNetwork(network, {InferenceEngine::PluginConfigParams::KEY_DEVICE_ID, "1"});

Then from here you can create the infer request for each FPGA respectively.

Kind Regards,

Monique Jones

jliu32
Beginner
146 Views

Hi Monique,

   Thanks for the prompt reply. Does device id "x" in OpenVINO map to "aclx" seen by aocl then? 

Regards,

James

Monique_J_Intel
Employee
146 Views

Hi James,

Yes, that is correct.

Kind Regards,

Monique Jones

Shawn_S_Intel
Employee
146 Views

The code that Monique specified appears to require double curly braces for compilation:

ExecutableNetwork executable_network = plugin.LoadNetwork(network, {{InferenceEngine::PluginConfigParams::KEY_DEVICE_ID, "0"}});

 

Reply