Files
openvino/docs/snippets/gpu/custom_kernels_api.cpp
Ilya Churaev d53339ff67 Deprecate legacy precisions and layouts (#17803)
* Deprecate legacy precisions and layouts

* Suppress some warnings

* Fixed some warnings
2023-06-01 12:47:55 +04:00

24 lines
460 B
C++

#include "openvino/runtime/core.hpp"
#ifndef IN_OV_COMPONENT
# define IN_OV_COMPONENT
# define WAS_OV_LIBRARY_DEFINED
#endif
#include "ie_plugin_config.hpp"
#ifdef WAS_OV_LIBRARY_DEFINED
# undef IN_OV_COMPONENT
# undef WAS_OV_LIBRARY_DEFINED
#endif
int main() {
//! [part0]
ov::Core core;
// Load GPU Extensions
core.set_property("GPU", {{ CONFIG_KEY(CONFIG_FILE), "<path_to_the_xml_file>" }});
//! [part0]
return 0;
}