parsec icon indicating copy to clipboard operation
parsec copied to clipboard

Offload device task release to worker threads

Open devreal opened this issue 1 year ago • 7 comments

Add a LIFO for task activities that are high-priority to the context. These activities are picked up by worker threads. With GPU execution, worker threads are mostly idle so they can spare cycles handling the release of successor tasks, including potential communication.

A similar mechanism could apply to incoming communication to relieve the communication thread and offload task release upon completion of a remote dep receive.

devreal avatar Oct 29 '24 23:10 devreal