openvino/docs/snippets/gpu/custom_kernels_api.cpp

13 lines
265 B
C++

#include "openvino/runtime/core.hpp"
#include "ie_plugin_config.hpp"
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;
}