diff --git a/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp b/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp index f73bc958f1a94a..19b9a69293a054 100644 --- a/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp +++ b/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp @@ -117,15 +117,6 @@ ZeroInferRequest::ZeroInferRequest(const std::shared_ptr& _levelZeroOutputTensors(_metadata.outputs.size(), nullptr) { _logger.debug("ZeroInferRequest::ZeroInferRequest - SyncInferRequest"); - ze_device_external_memory_properties_t desc = {}; - desc.stype = ZE_STRUCTURE_TYPE_DEVICE_EXTERNAL_MEMORY_PROPERTIES; - auto res = zeDeviceGetExternalMemoryProperties(_initStructs->getDevice(), &desc); - if (res == ZE_RESULT_SUCCESS) { - if (desc.memoryAllocationImportTypes & ZE_EXTERNAL_MEMORY_TYPE_FLAG_STANDARD_ALLOCATION) { - _externalMemoryStandardAllocationSupported = true; - } - } - _outputAllocator = std::make_shared(_initStructs); _inputAllocator = std::make_shared(_initStructs, ZE_HOST_MEM_ALLOC_FLAG_BIAS_WRITE_COMBINED); diff --git a/src/plugins/intel_npu/src/compiler_adapter/src/ze_graph_ext_wrappers.cpp b/src/plugins/intel_npu/src/compiler_adapter/src/ze_graph_ext_wrappers.cpp index c46647b9ed8d96..3b99ea0a1a0b73 100644 --- a/src/plugins/intel_npu/src/compiler_adapter/src/ze_graph_ext_wrappers.cpp +++ b/src/plugins/intel_npu/src/compiler_adapter/src/ze_graph_ext_wrappers.cpp @@ -404,13 +404,14 @@ GraphDescriptor ZeGraphExtWrappers::getGraphDescriptor(void* blobData, size_t bl flags = ZE_GRAPH_FLAG_INPUT_GRAPH_PERSISTENT; } - ze_graph_desc_2_t desc = {ZE_STRUCTURE_TYPE_GRAPH_DESC_PROPERTIES, - nullptr, - ZE_GRAPH_FORMAT_NATIVE, - blobSize, - reinterpret_cast(blobData), - nullptr, - flags}; + ze_graph_desc_2_t desc = { + ZE_STRUCTURE_TYPE_GRAPH_DESC_PROPERTIES, + nullptr, + ZE_GRAPH_FORMAT_NATIVE, + blobSize, + npuMemory ? reinterpret_cast(npuMemory) : reinterpret_cast(blobData), + nullptr, + flags}; _logger.debug("getGraphDescriptor - perform pfnCreate2");