File tree 1 file changed +0
-15
lines changed
src/plugins/intel_gpu/src/plugin
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -465,21 +465,6 @@ void SyncInferRequest::wait() {
465
465
iremote_tensor_ptr->copy_from (plugin_tensor.ptr );
466
466
}
467
467
}
468
- } else if (!is_dynamic && is_remote_tensor_impl && output_memory) {
469
- auto & stream = m_graph->get_network ()->get_stream ();
470
- auto user_mem = remote_tensor_impl_ptr->get_original_memory ();
471
- if (user_mem->get_allocation_type () == cldnn::allocation_type::cl_mem
472
- && output_memory->get_allocation_type () != cldnn::allocation_type::cl_mem) {
473
- auto plugin_tensor = m_plugin_outputs.at (port_idx);
474
- if (is_convert_required (plugin_tensor.ptr ->get_element_type (), iremote_tensor_ptr->get_element_type ())) {
475
- auto & stream = m_graph->get_network ()->get_stream ();
476
- convert_and_copy (plugin_tensor.ptr .get (), iremote_tensor_ptr.get (), stream);
477
- } else {
478
- iremote_tensor_ptr->copy_from (plugin_tensor.ptr );
479
- }
480
- } else {
481
- copy_events.push_back (output_memory->copy_to (stream, *user_mem, false ));
482
- }
483
468
} else if (is_remote_tensor_impl && is_dynamic) {
484
469
auto & stream = m_graph->get_network ()->get_stream ();
485
470
auto user_mem = remote_tensor_impl_ptr->get_original_memory ();
You can’t perform that action at this time.
0 commit comments