diff --git a/CMakePresets.json b/CMakePresets.json index b5afeb3c0f..392c357f37 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -1,6 +1,26 @@ { "version": 4, "configurePresets": [ + { + "name": "ReleaseOV", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build/${presetName}", + "installDir": "${sourceDir}/build/install/${presetName}", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release", + "GGML_OPENVINO": true, + "OpenVINO_DIR": "$env{OPENVINO_LLAMA_PATH}/build/Release" + } + }, + { + "name": "ReleaseCPU", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build/${presetName}", + "installDir": "${sourceDir}/build/install/${presetName}", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + } + }, { "name": "base", "hidden": true, diff --git a/ggml/src/ggml-openvino/utils.cpp b/ggml/src/ggml-openvino/utils.cpp index 7937d5793a..5feb67d681 100644 --- a/ggml/src/ggml-openvino/utils.cpp +++ b/ggml/src/ggml-openvino/utils.cpp @@ -37,7 +37,6 @@ std::map get_ggml_graph_output_dst(std::shared_ptr