File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ project(OpenVINOGenAI
23
23
HOMEPAGE_URL "https://github.com/openvinotoolkit/openvino.genai"
24
24
LANGUAGES CXX)
25
25
26
+ option (ENABLE_CONTINUOUS_BATCHING "" OFF )
27
+ option (ENABLE_APPS "Enable C++ continuous batching apps. Ignored if ENABLE_CONTINUOUS_BATCHING is OFF" ON )
28
+
26
29
# Find OpenVINODeveloperPackage first to compile with SDL flags
27
30
find_package (OpenVINODeveloperPackage QUIET
28
31
PATHS "${OpenVINO_DIR} " )
Original file line number Diff line number Diff line change @@ -113,3 +113,7 @@ write_basic_package_version_file("${CMAKE_BINARY_DIR}/OpenVINOGenAIConfigVersion
113
113
install (FILES "${CMAKE_BINARY_DIR} /OpenVINOGenAIConfig.cmake" "${CMAKE_BINARY_DIR} /OpenVINOGenAIConfigVersion.cmake"
114
114
DESTINATION runtime/cmake COMPONENT core_genai_dev)
115
115
export (EXPORT OpenVINOGenAITargets FILE "${CMAKE_BINARY_DIR} /OpenVINOGenAITargets.cmake" NAMESPACE openvino::)
116
+
117
+ if (ENABLE_CONTINUOUS_BATCHING)
118
+ add_subdirectory (continuous_batching)
119
+ endif ()
You can’t perform that action at this time.
0 commit comments