* remove ov::device::thermal ov::device::thermal was only supported on myriad * additional cleanup * remove myriad from AUTO and MULTI auto n multi n hetero + remove mentions of listing myriad devices * two final fixes * Update ov_auto.py --------- Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
15 lines
349 B
C++
15 lines
349 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:GPU,CPU");
|
|
|
|
// query the optimal number of requests
|
|
uint32_t nireq = compileModel.get_property(ov::optimal_number_of_infer_requests);
|
|
//! [part5]
|
|
return 0;
|
|
}
|