* Docs multiplugin page-wide tabs merge porting to master changes aligning multi plugin with other articles already present in 22.1 * Update docs/snippets/MULTI4.cpp * Update docs/snippets/MULTI4.cpp
15 lines
350 B
C++
15 lines
350 B
C++
#include <openvino/openvino.hpp>
|
|
|
|
int main() {
|
|
//! [part5]
|
|
ov::Core core;
|
|
|
|
// // Read a model and compile it on MULTI
|
|
ov::CompiledModel compileModel = core.compile_model("sample.xml", "MULTI:HDDL,GPU");
|
|
|
|
// query the optimal number of requests
|
|
uint32_t nireq = compileModel.get_property(ov::optimal_number_of_infer_requests);
|
|
//! [part5]
|
|
return 0;
|
|
}
|