* [GPU] Added common exec mode hint and gpu support * Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property * [GPU] Execution mode tests and fixes * Fixed code style * Moved execution_mode test to common. Fixes for python API * Remove deprecations for hint::inference_precision and just keep both * Fix test
12 lines
205 B
C++
12 lines
205 B
C++
#include <openvino/runtime/core.hpp>
|
|
|
|
int main() {
|
|
using namespace InferenceEngine;
|
|
//! [part2]
|
|
ov::Core core;
|
|
core.set_property("CPU", ov::inference_precision(ov::element::f32));
|
|
//! [part2]
|
|
|
|
return 0;
|
|
}
|