llvm
a1229c56 - [L0v2][SYCL] fix: use command lists in map and unmap for integrated buffers (#21297)

Commit
1 day ago
[L0v2][SYCL] fix: use command lists in map and unmap for integrated buffers (#21297) ur_integrated_buffer_handle_t::mapHostPtr and ur_integrated_buffer_handle_t::unmapHostPtr used to ignore command lists passed as arguments, instead creating additional command lists for memory copy, which led to copying the buffer content before the completion of operations enqueued on the command lists. Now memory copy is enqueued on the provided command lists, following previously submitted tasks and ensuring the correct order of operations. This fix applies to all queue types. Moreover, this patch adds SYCL e2e tests for batched queues, which would have failed before the introduced fix.
Committer
Parents
Loading