Idein / py-videocore6

Python library for GPGPU programming on Raspberry Pi 4
https://idein.jp
GNU General Public License v2.0
244 stars 28 forks source link

Dispatch multiple shader #23

Closed notogawa closed 4 years ago

notogawa commented 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).

See test_multiple_dispatch.

Terminus-IMRC commented 4 years ago

Looks good to me. Thanks!