Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[NPU] Update compiler version to UD20 RC1 (#35665)

Stefania Hergane2a78b972733a
diff --git a/src/plugins/intel_npu/cmake/download_compiler_libs.cmake b/src/plugins/intel_npu/cmake/download_compiler_libs.cmake
index 7a47d464377..2b79e2b7306 100644
--- a/src/plugins/intel_npu/cmake/download_compiler_libs.cmake
+++ b/src/plugins/intel_npu/cmake/download_compiler_libs.cmake
@@ -4,14 +4,14 @@
# This script resolves the prebuilt NPU Plugin Compiler dependency by downloading and extracting the appropriate
# archive based on the current platform. The expected location of the archive and naming convention is as follows:
-# vcl version: 8.1.0
+# vcl version: 7.7.0
# release: releases/unified/2026/20
# storage location: https://storage.openvinotoolkit.org/dependencies/thirdparty
# WINDOWS:
-# windows2022: npu_compiler_vcl_windows_2022-8_1_0-727e603.zip
+# windows2022: npu_compiler_vcl_windows_2022-7_7_0-2996129.zip
# LINUX:
-# ubuntu22.04: npu_compiler_vcl_ubuntu_22_04-8_1_0-727e603.tar.gz
-# ubuntu24.04: npu_compiler_vcl_ubuntu_24_04-8_1_0-727e603.tar.gz
+# ubuntu22.04: npu_compiler_vcl_ubuntu_22_04-7_7_0-2996129.tar.gz
+# ubuntu24.04: npu_compiler_vcl_ubuntu_24_04-7_7_0-2996129.tar.gz
#
# This script replicates cmake/dependencies.cmake common OV dependency resolution logic including:
# THIRDPARTY_SERVER_PATH environment variable or cmake options support that allows
@@ -51,10 +51,10 @@ if(ENABLE_INTEL_NPU_COMPILER)
set(PLUGIN_COMPILER_VERSION_MAJOR 7)
set(PLUGIN_COMPILER_VERSION_MINOR 7)
set(PLUGIN_COMPILER_VERSION_PATCH 0)
- set(PLUGIN_COMPILER_COMMIT_SHA 98c0808)
- set(PLUGIN_COMPILER_WINDOWS_2022_CHECKSUM d433c835d87ecf7bd16ae883adba788b51da4dfa025d08a49f0672c0809f3d9f)
- set(PLUGIN_COMPILER_UBUNTU_22_04_CHECKSUM c6ecb0a212aa796e21409c9da4a33677d5bf9d6aa8ed4f67a9162317c3673c1e)
- set(PLUGIN_COMPILER_UBUNTU_24_04_CHECKSUM 4d2ec0ab1bb34f90f132803b2b45ba8773f3c579c2e290ea259de27ed85247c3)
+ set(PLUGIN_COMPILER_COMMIT_SHA 2996129)
+ set(PLUGIN_COMPILER_WINDOWS_2022_CHECKSUM fdc0872dbb62f41c693fc381f12a381cdb8ec9451e6281a0812f2a0d3b4f1a09)
+ set(PLUGIN_COMPILER_UBUNTU_22_04_CHECKSUM 6c76685d78a60c3327382312e9956e29f1db11c117b42d35bd7d5ba5d0606fbf)
+ set(PLUGIN_COMPILER_UBUNTU_24_04_CHECKSUM 78701823cf04efc339b51134e88b60500f3740aab4898c0001cc0caaa31e0089)
set(PLUGIN_COMPILER_VERSION_UNDERSCORE "${PLUGIN_COMPILER_VERSION_MAJOR}_${PLUGIN_COMPILER_VERSION_MINOR}_${PLUGIN_COMPILER_VERSION_PATCH}")
message(STATUS "The prebuilt compiler version is ${PLUGIN_COMPILER_VERSION_MAJOR}.${PLUGIN_COMPILER_VERSION_MINOR}.${PLUGIN_COMPILER_VERSION_PATCH}.${PLUGIN_COMPILER_COMMIT_SHA}")
diff --git a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl.h b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl.h
index a7f58240d0e..bcad1282c28 100644
--- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl.h
+++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl.h
@@ -6,49 +6,49 @@
#define VPUX_COMPILER_L0_H
#if defined(__cplusplus)
-# include <cstdint>
-# include <cstdlib>
+#include <cstdint>
+#include <cstdlib>
#else
-# include <stdint.h>
-# include <stdlib.h>
+#include <stdint.h>
+#include <stdlib.h>
#endif
#if defined(__cplusplus)
-# pragma once
+#pragma once
#endif
#if defined(__cplusplus)
extern "C" {
#endif
-#define VCL_COMPILER_VERSION_MAJOR 7
-#define VCL_COMPILER_VERSION_MINOR 6
+#define VCL_COMPILER_VERSION_MAJOR 7
+#define VCL_COMPILER_VERSION_MINOR 7
#define VCL_PROFILING_VERSION_MAJOR 2
#define VCL_PROFILING_VERSION_MINOR 0
#ifndef DEPRECATED
-# define DEPRECATED // for documentation only
+#define DEPRECATED // for documentation only
#endif
///////////////////////////////////////////////////////////////////////////////
#ifndef VCL_APICALL
-# if defined(_WIN32)
+#if defined(_WIN32)
/// @brief Calling convention for all API functions
-# define VCL_APICALL __cdecl
-# else
-# define VCL_APICALL
-# endif // defined(_WIN32)
-#endif // VCL_APICALL
+#define VCL_APICALL __cdecl
+#else
+#define VCL_APICALL
+#endif // defined(_WIN32)
+#endif // VCL_APICALL
///////////////////////////////////////////////////////////////////////////////
#ifndef VCL_APIEXPORT
-# if defined(_WIN32)
+#if defined(_WIN32)
/// @brief Windows-specific dllexport storage-class attribute
-# define VCL_APIEXPORT __declspec(dllexport)
-# else
-# define VCL_APIEXPORT
-# endif // defined(_WIN32)
-#endif // VCL_APIEXPORT
+#define VCL_APIEXPORT __declspec(dllexport)
+#else
+#define VCL_APIEXPORT
+#endif // defined(_WIN32)
+#endif // VCL_APIEXPORT
///////////////////////////////////////////////////////////////////////////////
/// @brief Compiler handle
@@ -214,8 +214,7 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclGetVersion(vcl_version_info_t* compile
///////////////////////////////////////////////////////////////////////////////
/// @brief Creates a compiler object and returns the compiler handle
VCL_APIEXPORT vcl_result_t VCL_APICALL vclCompilerCreate(vcl_compiler_desc_t* compilerDesc,
- vcl_device_desc_t* deviceDesc,
- vcl_compiler_handle_t* compiler,
+ vcl_device_desc_t* deviceDesc, vcl_compiler_handle_t* compiler,
vcl_log_handle_t* logHandle);
///////////////////////////////////////////////////////////////////////////////
@@ -229,8 +228,7 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclCompilerGetProperties(vcl_compiler_han
///////////////////////////////////////////////////////////////////////////////
/// @brief Create an querynetwork object and return the handle
-VCL_APIEXPORT vcl_result_t VCL_APICALL vclQueryNetworkCreate(vcl_compiler_handle_t compiler,
- vcl_query_desc_t desc,
+VCL_APIEXPORT vcl_result_t VCL_APICALL vclQueryNetworkCreate(vcl_compiler_handle_t compiler, vcl_query_desc_t desc,
vcl_query_handle_t* query);
///////////////////////////////////////////////////////////////////////////////
@@ -245,8 +243,7 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclQueryNetworkDestroy(vcl_query_handle_t
///////////////////////////////////////////////////////////////////////////////
/// @brief Creates an executable object and returns the executable handle.
/// Parse modelIRData in the executable descriptor to blob and store it in the executable.
-VCL_APIEXPORT vcl_result_t VCL_APICALL vclExecutableCreate(vcl_compiler_handle_t compiler,
- vcl_executable_desc_t desc,
+VCL_APIEXPORT vcl_result_t VCL_APICALL vclExecutableCreate(vcl_compiler_handle_t compiler, vcl_executable_desc_t desc,
vcl_executable_handle_t* executable);
DEPRECATED typedef struct __vcl_allocator_t {
@@ -261,16 +258,19 @@ typedef struct __vcl_allocator2_t {
DEPRECATED VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreate(vcl_compiler_handle_t compiler,
vcl_executable_desc_t desc,
- const vcl_allocator_t* allocator,
+ vcl_allocator_t const* allocator,
uint8_t** blobBuffer,
uint64_t* blobSize);
VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreate2(vcl_compiler_handle_t compiler,
vcl_executable_desc_t desc,
- vcl_allocator2_t* allocator,
- uint8_t** blobBuffer,
+ vcl_allocator2_t* allocator, uint8_t** blobBuffer,
uint64_t* blobSize);
+VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreate3(
+ vcl_compiler_handle_t compiler, vcl_executable_desc_t desc, vcl_allocator2_t* allocator, uint8_t** blobBuffer,
+ uint64_t* blobSize, uint8_t** compatibilityReqBuffer, uint64_t* compatibilityReqSize);
+
VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreateWSOneShot(vcl_compiler_handle_t compiler,
vcl_executable_desc_t desc,
vcl_allocator2_t* allocator);
@@ -283,8 +283,7 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclExecutableDestroy(vcl_executable_handl
/// @brief If blobBuffer is null, the function returns the size of the blob stored in the executable.
/// Otherwise the function copies the executable cached blob to the blobBuffer provided by the caller.
VCL_APIEXPORT vcl_result_t VCL_APICALL vclExecutableGetSerializableBlob(vcl_executable_handle_t executable,
- uint8_t* blobBuffer,
- uint64_t* blobSize);
+ uint8_t* blobBuffer, uint64_t* blobSize);
///////////////////////////////////////////////////////////////////////////////
/// @brief Creates a buffer with decoded profiling info.
@@ -325,15 +324,13 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclLogHandleGetString(vcl_log_handle_t lo
///////////////////////////////////////////////////////////////////////////////
/// @brief Retrieve the list of supported compiler options
/// @attention Should be called twice, first time to retrieve data size, second time to get data.
-VCL_APIEXPORT vcl_result_t VCL_APICALL vclGetCompilerSupportedOptions(vcl_compiler_handle_t compiler,
- char* result,
+VCL_APIEXPORT vcl_result_t VCL_APICALL vclGetCompilerSupportedOptions(vcl_compiler_handle_t compiler, char* result,
uint64_t* size);
///////////////////////////////////////////////////////////////////////////////
/// @brief Verifies if a given config option (or option-value pair) is supported by the compiler
VCL_APIEXPORT vcl_result_t VCL_APICALL vclGetCompilerIsOptionSupported(vcl_compiler_handle_t compiler,
- const char* option,
- const char* value);
+ const char* option, const char* value);
#if defined(__cplusplus)
} // extern "C"