openvino/src/plugins/template
Maciej Smyk 717875cd43
[DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for 2024 (#23132)
Port from https://github.com/openvinotoolkit/openvino/pull/23091

* Update of links in docs to 2024 in repo.
* Replaced ov homepage diagram with a new version without Kalid, MXNet
and Caffe
2024-02-28 12:27:23 +00:00
..
backend Updated copyright year to 2024 (#22958) 2024-02-20 17:01:21 +00:00
include/template Updated copyright year to 2024 (#22958) 2024-02-20 17:01:21 +00:00
src Updated copyright year to 2024 (#22958) 2024-02-20 17:01:21 +00:00
tests/functional Updated copyright year to 2024 (#22958) 2024-02-20 17:01:21 +00:00
CMakeLists.txt Updated copyright year to 2024 (#22958) 2024-02-20 17:01:21 +00:00
README.md [DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for 2024 (#23132) 2024-02-28 12:27:23 +00:00

README.md

OpenVINO Template Plugin

Template Plugin for OpenVINO™ Runtime which demonstrates basics of how OpenVINO™ Runtime plugin can be built and implemented on top of OpenVINO Developer Package and Plugin API. As a backend for actual computations OpenVINO reference implementations is used, so the Template plugin is fully functional.

Key Contacts

Please contact a member of openvino-ie-template-maintainers group, for assistance regarding Template plugin.

Components

Template Plugin contains the following components:

  • backend - contains backend to run reference implementations.
  • include - folder contains public plugin API.
  • src - folder contains sources of the plugin.
  • tests - contains tests for the plugin.

How to build

$ cd <openvino_dir>
$ mkdir <openvino_dir>/build
$ cd <openvino_dir>/build
$ cmake -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON ..
$ make -j8
$ cd <template_plugin_dir>
$ mkdir <template_plugin_dir>/build
$ cd <template_plugin_dir>/build
$ cmake -DOpenVINODeveloperPackage_DIR=<openvino_dir>/build -DENABLE_TEMPLATE_REGISTRATION=ON ..
$ make -j8

ENABLE_TEMPLATE_REGISTRATION cmake options registers the plugin in plugin.xml configuration file and enables install target for the plugin.

Tutorials

See also