Skip to content

Commit e3e2fb8

Browse files
[GPU] Fix clEnqueueCopyBuffer error in RemoteTensor use case (#29769)
Backport of (#29767) to releases/2025/1
1 parent a634b38 commit e3e2fb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plugins/intel_gpu/src/plugin/sync_infer_request.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@ void SyncInferRequest::wait() {
402402
need_reallocate = usm_host_tensor->get_impl()->get_original_memory()->size() < output_memory->size();
403403
else if (!is_remote_tensor_impl && output_memory)
404404
need_reallocate = output_tensor_wrapper.actual_size < output_memory->size();
405+
else if (is_remote_tensor_impl && output_memory)
406+
need_reallocate = false;
405407

406408
if (need_reallocate) {
407409
std::string internal_name = m_output_names_map.at(port_idx);

0 commit comments

Comments
 (0)