Closed notogawa closed 4 years ago
I add a Dispatcher generator method Driver.compute_shader_dispatcher. This Dispatcher separates Driver.execute into Dispatcher.dispatch and Dispatcher.__exit__ (for waiting completion).
Dispatcher
Driver.compute_shader_dispatcher
Driver.execute
Dispatcher.dispatch
Dispatcher.__exit__
See test_multiple_dispatch.
test_multiple_dispatch
Looks good to me. Thanks!
I add a
Dispatcher
generator methodDriver.compute_shader_dispatcher
. ThisDispatcher
separatesDriver.execute
intoDispatcher.dispatch
andDispatcher.__exit__
(for waiting completion).See
test_multiple_dispatch
.