openvino/src/plugins/template
Ilya Lavrenov 56d74a82cb
Relocatable developer package (#20327)
* Merge Linux CC + static build + clang compiler

* Improvements

* Removed ie prefixes from cmake scripts

* Fixes for NPU

* Initial relocatable OpenVINO Developer package

* Improvements

* Try to fix

* improvements

* Export a lot of headers

* Removed NVIDIA pipeline; make it to be a job

* Fixes

* Fixes 2

* Try ilya-lavrenov repo

* Clean-up

* More imrpovements

* Even more improvements

* Override export, install

* Override export, install

* Disable pythonwheel generation for relocatable OV dev package

* Fixed issues with versions

* Fixed android build

* Fixed android build

* Fixed NPU build

* Update src/bindings/python/CMakeLists.txt
2023-10-12 22:59:04 +00:00
..
backend Relocatable developer package (#20327) 2023-10-12 22:59:04 +00:00
include/template Changed Template plugin public property (#16496) 2023-03-23 16:34:49 +01:00
src Relocatable developer package (#20327) 2023-10-12 22:59:04 +00:00
tests/functional Relocatable developer package (#20327) 2023-10-12 22:59:04 +00:00
CMakeLists.txt Relocatable developer package (#20327) 2023-10-12 22:59:04 +00:00
README.md [DOCS] Link adjustment for dev docs + fix to build.md CPU link for master (#17744) 2023-05-31 13:27:20 +04: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