[GPU] bugfix for copy_from (#17993)

This commit is contained in:
Mingyu Kim 2023-07-27 11:47:40 +09:00 committed by GitHub
parent 83a78eb559
commit 416fdddd34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -463,7 +463,7 @@ event::ptr gpu_usm::copy_from(stream& stream, const void* host_ptr, bool blockin
blocking,
nullptr,
ev_ocl);
return stream.create_user_event(true);
return ev;
}
event::ptr gpu_usm::copy_to(stream& stream, void* host_ptr, bool blocking) {