Skip to content

Commit 18264cc

Browse files
uwedolinskygithub-actions[bot]
authored andcommitted
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 6a35427 commit 18264cc

1 file changed

Lines changed: 159 additions & 95 deletions

File tree

0 commit comments

Comments
 (0)