Skip to content

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

[NPU] Remove deprecated VCL API (#37625)

Wenjing Kang1711349e7a57
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 4ec74aa8806..45370fbba6c 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
@@ -246,36 +246,17 @@ VCL_APIEXPORT vcl_result_t VCL_APICALL vclQueryNetworkDestroy(vcl_query_handle_t
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 {
- uint8_t* (*allocate)(uint64_t);
- void (*deallocate)(uint8_t*);
-} vcl_allocator_t;
-
typedef struct __vcl_allocator2_t {
uint8_t* (*allocate)(struct __vcl_allocator2_t*, uint64_t);
void (*deallocate)(struct __vcl_allocator2_t*, uint8_t*);
} vcl_allocator2_t;
-DEPRECATED VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreate(vcl_compiler_handle_t compiler,
- vcl_executable_desc_t desc,
- 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,
uint64_t* blobSize);
-DEPRECATED 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** compatibilityStringBuffer,
- uint64_t* compatibilityStringSize);
-
VCL_APIEXPORT vcl_result_t VCL_APICALL vclAllocatedExecutableCreate4(vcl_compiler_handle_t compiler,
vcl_executable_desc_t desc,
vcl_allocator2_t* allocator,
diff --git a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl_api.hpp b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl_api.hpp
index fccd84ca522..0a982f95989 100644
--- a/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl_api.hpp
+++ b/src/plugins/intel_npu/src/utils/include/intel_npu/utils/vcl/vcl_api.hpp
@@ -36,7 +36,6 @@ namespace intel_npu {
// symbols that may not be supported in older versions of vcl
#define vcl_weak_symbols_list() \
- vcl_symbol_statement(vclAllocatedExecutableCreate) \
vcl_symbol_statement(vclAllocatedExecutableCreate2) \
vcl_symbol_statement(vclAllocatedExecutableCreateWSOneShot2) // clang-format on