diff --git a/cmake/features.cmake b/cmake/features.cmake index ecece9582f6..42f48b6f1bb 100644 --- a/cmake/features.cmake +++ b/cmake/features.cmake @@ -45,7 +45,7 @@ Supported values:\ ie_option (ENABLE_PROFILING_FIRST_INFERENCE "Build with ITT tracing of first inference time." ON) ie_option_enum(SELECTIVE_BUILD "Enable OpenVINO conditional compilation or statistics collection. \ -In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should contain the path to the collected InelSEAPI statistics. \ +In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should contain the path to the collected IntelSEAPI statistics. \ Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv" OFF ALLOWED_VALUES ON OFF COLLECT) diff --git a/docs/OV_Runtime_UG/deployment/local-distribution.md b/docs/OV_Runtime_UG/deployment/local-distribution.md index 4a3b93ca752..9369d8a4e05 100644 --- a/docs/OV_Runtime_UG/deployment/local-distribution.md +++ b/docs/OV_Runtime_UG/deployment/local-distribution.md @@ -5,7 +5,7 @@ With a local distribution, each C or C++ application/installer will have its own copies of OpenVINO Runtime binaries. However, OpenVINO has a scalable plugin-based architecture, which means that some components can be loaded in runtime only when they are really needed. Therefore, it is important to understand which minimal set of libraries is really needed to deploy the application. This guide helps you to achieve that goal. Local distribution is also appropriate for OpenVINO binaries built from sources using `Build instructions `__, -but the guide below supposes OpenVINO Runtime is built dynamically. For case of `Static OpenVINO Runtime `__ select the required OpenVINO capabilities on CMake configuration stage using `CMake Options for Custom Compilation `__, the build and link the OpenVINO components into the final application. +but the guide below supposes OpenVINO Runtime is built dynamically. For case of `Static OpenVINO Runtime `__ select the required OpenVINO capabilities on CMake configuration stage using `CMake Options for Custom Compilation `__, the build and link the OpenVINO components into the final application. .. note:: diff --git a/docs/OV_Runtime_UG/supported_plugins/CPU.md b/docs/OV_Runtime_UG/supported_plugins/CPU.md index 4365bce2a52..714b033d3ac 100644 --- a/docs/OV_Runtime_UG/supported_plugins/CPU.md +++ b/docs/OV_Runtime_UG/supported_plugins/CPU.md @@ -9,7 +9,7 @@ The CPU plugin is a part of the Intel® Distribution of OpenVINO™ toolkit. It is developed to achieve high performance inference of neural networks on Intel® x86-64 CPUs.The newer 11th generation and later Intel® CPUs provide even further performance boost, especially with INT8 models. For an in-depth description of CPU plugin, see: -- `CPU plugin developers documentation `__. +- `CPU plugin developers documentation `__. - `OpenVINO Runtime CPU plugin source files `__. diff --git a/docs/dev/build_mac_arm.md b/docs/dev/build_mac_arm.md index 1596cf46434..dba35bb7d4c 100644 --- a/docs/dev/build_mac_arm.md +++ b/docs/dev/build_mac_arm.md @@ -70,7 +70,7 @@ mkdir build && cd build ```sh cmake -DCMAKE_BUILD_TYPE=Release -DOPENVINO_EXTRA_MODULES=../openvino_contrib/modules/arm_plugin .. ``` -> **NOTE**: By default OpenVINO CMake scripts try to introspect the system and enable all possible functionality based on that. You can look at the CMake output and see warnings, which show that some functionality is turned off and the corresponding reason, guiding what to do to install additionally to enable unavailable functionality. Additionally, you can change CMake options to enable / disable some functionality, add / remove compilation flags, provide custom version of dependencies like TBB, PugiXML, OpenCV, Protobuf. For more information, see [CMake Options for Custom Compilation](./cmake_options_for_custom_comiplation.md). +> **NOTE**: By default OpenVINO CMake scripts try to introspect the system and enable all possible functionality based on that. You can look at the CMake output and see warnings, which show that some functionality is turned off and the corresponding reason, guiding what to do to install additionally to enable unavailable functionality. Additionally, you can change CMake options to enable / disable some functionality, add / remove compilation flags, provide custom version of dependencies like TBB, PugiXML, OpenCV, Protobuf. For more information, see [CMake Options for Custom Compilation](./cmake_options_for_custom_compilation.md). 4. (CMake build) Build OpenVINO project: ```sh cmake --build . --config Release --parallel $(sysctl -n hw.ncpu) diff --git a/docs/dev/build_mac_intel_cpu.md b/docs/dev/build_mac_intel_cpu.md index f579dca4ea0..8592d63c3d7 100644 --- a/docs/dev/build_mac_intel_cpu.md +++ b/docs/dev/build_mac_intel_cpu.md @@ -55,7 +55,7 @@ mkdir build && cd build ```sh cmake -DCMAKE_BUILD_TYPE=Release .. ``` -> **NOTE**: By default OpenVINO CMake scripts try to introspect the system and enable all possible functionality based on that. You can look at the CMake output and see warnings, which show that some functionality is turned off and the corresponding reason, guiding what to do to install additionally to enable unavailable functionality. Additionally, you can change CMake options to enable / disable some functionality, add / remove compilation flags, provide custom version of dependencies like TBB, PugiXML, OpenCV, Protobuf. For more information, see [CMake Options for Custom Compilation](./cmake_options_for_custom_comiplation.md). +> **NOTE**: By default OpenVINO CMake scripts try to introspect the system and enable all possible functionality based on that. You can look at the CMake output and see warnings, which show that some functionality is turned off and the corresponding reason, guiding what to do to install additionally to enable unavailable functionality. Additionally, you can change CMake options to enable / disable some functionality, add / remove compilation flags, provide custom version of dependencies like TBB, PugiXML, OpenCV, Protobuf. For more information, see [CMake Options for Custom Compilation](./cmake_options_for_custom_compilation.md). 3. (CMake build) Build OpenVINO project: ```sh cmake --build . --config Release --parallel $(sysctl -n hw.ncpu) diff --git a/docs/dev/build_windows.md b/docs/dev/build_windows.md index 190b4b3db69..e1b5a375e65 100644 --- a/docs/dev/build_windows.md +++ b/docs/dev/build_windows.md @@ -62,7 +62,7 @@ Supported configurations: - Required versions of TBB and OpenCV packages are downloaded automatically by the CMake-based script. If you want to use the automatically-downloaded packages but you have already installed TBB or OpenCV packages configured in your environment, you may need to clean the `TBBROOT` and `OpenCV_DIR` environment variables before running the `cmake` command; otherwise they won'tnbe downloaded and the build may fail if incompatible versions were installed. -- If the CMake-based build script can not find and download the OpenCV package that is supported on your platform, or if you want to use a custom build of the OpenCV library, refer to the [Use Custom OpenCV Builds](./cmake_options_for_custom_comiplation.md#Building-with-custom-OpenCV) section for details. +- If the CMake-based build script can not find and download the OpenCV package that is supported on your platform, or if you want to use a custom build of the OpenCV library, refer to the [Use Custom OpenCV Builds](./cmake_options_for_custom_compilation.md#Building-with-custom-OpenCV) section for details. - To build the OpenVINO Runtime Python API: 1. First, install all additional packages (e.g., cython and opencv) listed in the file: diff --git a/docs/dev/cmake_options_for_custom_comiplation.md b/docs/dev/cmake_options_for_custom_compilation.md similarity index 100% rename from docs/dev/cmake_options_for_custom_comiplation.md rename to docs/dev/cmake_options_for_custom_compilation.md diff --git a/docs/dev/conditional_compilation.md b/docs/dev/conditional_compilation.md index 44049020b96..47ac0190be8 100644 --- a/docs/dev/conditional_compilation.md +++ b/docs/dev/conditional_compilation.md @@ -19,9 +19,9 @@ However, conditional compilation has a significant drawback - the resulting Open There are two conditional compilation build stages: `SELECTIVE_BUILD=COLLECT` and `SELECTIVE_BUILD=ON`. -`SELECTIVE_BUILD=COLLECT` enables analysis mode for annotated code regions. It can be used to collect statistics data using `itt`. Once this stage is completed, run an OpenVINO sample, such as benchmark_app, to generate actual statistic data. Then run `itt_collector tool` to dump the data into cvs files. This statge can be enabled during the OpenVINO build with the options `-DSELECTIVE_BUILD=COLLECT -DENABLE_PROFILING_ITT=ON`. +`SELECTIVE_BUILD=COLLECT` enables analysis mode for annotated code regions. It can be used to collect statistics data using `itt`. Once this stage is completed, run an OpenVINO sample, such as benchmark_app, to generate actual statistic data. Then run `itt_collector tool` to dump the data into csv files. This stage can be enabled during the OpenVINO build with the options `-DSELECTIVE_BUILD=COLLECT -DENABLE_PROFILING_ITT=ON`. -`SELECTIVE_BUILD=ON` excludes all inactive annotated code regions from the compiled binaries using `cvs files` generated by the `itt_collector tool`. It is done by a header file which generated from the `cvs files`. This stage need build OpenVINO with option `-DSELECTIVE_BUILD=ON -DENABLE_PROFILING_ITT=OFF -DSELECTIVE_BUILD_STAT=`. Notice: `-DENABLE_PROFILING_ITT=OFF` is not must, if user wants to have ITT counters in final application, he can set it ON: `-DENABLE_PROFILING_ITT=ON`. +`SELECTIVE_BUILD=ON` excludes all inactive annotated code regions from the compiled binaries using `csv files` generated by the `itt_collector tool`. It is done by a header file which generated from the `csv files`. This stage need build OpenVINO with option `-DSELECTIVE_BUILD=ON -DENABLE_PROFILING_ITT=OFF -DSELECTIVE_BUILD_STAT=`. Notice: `-DENABLE_PROFILING_ITT=OFF` is not must, if user wants to have ITT counters in final application, he can set it ON: `-DENABLE_PROFILING_ITT=ON`. > **NOTE**: If the above options are not enabled, conditional compilation will be OFF and the default behavior is kept, all OpenVINO features are enabled. You can ignore `SELECTIVE_BUILD` or set option `-DSELECTIVE_BUILD=OFF`. diff --git a/src/common/conditional_compilation/CMakeLists.txt b/src/common/conditional_compilation/CMakeLists.txt index 2d899b01c54..af2e1e1724a 100644 --- a/src/common/conditional_compilation/CMakeLists.txt +++ b/src/common/conditional_compilation/CMakeLists.txt @@ -17,7 +17,7 @@ if(SELECTIVE_BUILD STREQUAL "COLLECT") target_compile_definitions(${TARGET_NAME} INTERFACE SELECTIVE_BUILD_ANALYZER) elseif(SELECTIVE_BUILD STREQUAL "ON") if(NOT DEFINED SELECTIVE_BUILD_STAT) - message(FATAL_ERROR "In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should contain the path to the collected InelSEAPI statistics.\ + message(FATAL_ERROR "In case SELECTIVE_BUILD is enabled, the SELECTIVE_BUILD_STAT variable should contain the path to the collected IntelSEAPI statistics.\ Usage: -DSELECTIVE_BUILD=ON -DSELECTIVE_BUILD_STAT=/path/*.csv") endif() find_package (PythonInterp 3 REQUIRED) diff --git a/src/common/conditional_compilation/include/openvino/cc/selective_build.h b/src/common/conditional_compilation/include/openvino/cc/selective_build.h index 20addc6f981..ded58394c7a 100644 --- a/src/common/conditional_compilation/include/openvino/cc/selective_build.h +++ b/src/common/conditional_compilation/include/openvino/cc/selective_build.h @@ -11,16 +11,16 @@ * SELECTIVE_BUILD_ANALYZER This macro enables analysis mode for annotated code regions. * When the process completes, a new C++ header file is created * that contains macros for enabling active regions. This file - * should be included in all analysed C++ files. + * should be included in all analyzed C++ files. * * SELECTIVE_BUILD This mode disables inactive areas of the code using the result * of the analysis step. * - * No definitions The default behavior is keept if no SELECTIVE_BUILD* macros are defined, + * No definitions The default behavior is kept if no SELECTIVE_BUILD* macros are defined, * i.e all features of the OpenVINO are enabled. * * Prerequisites: - * Before using macros for code annotation,domains for conditional + * Before using macros for code annotation, domains for conditional * compilation should be defined in module namespace. * * OV_CC_DOMAINS(MyModule);