Skip to content

Commit 1dee8fc

Browse files
authored
[SYCL][NATIVECPU] async ops, wait for dependencies in threads (#19537)
Makes most operations including memory copies asynchronous except `enqueueBufferMap` Worker threads wait for dependent events instead of the main thread. The state struct is now constructed by the threads instead of being constructed by the main thread and copied which 1. reduces the capturing overhead in the enqueue lambda 2. enabled removing `mutable` from enqueue lambda Also removing `#ifdef NATIVECPU_USE_OCK`
1 parent acbca47 commit 1dee8fc

File tree

1 file changed

+159
-95
lines changed

1 file changed

+159
-95
lines changed

0 commit comments

Comments
 (0)