Just to record the issues raised by @hameerabbasi and I in the numba dev call:
- If two threads use
with device_context in parallel, do they interfere with each other?
- If two async tasks use
with_device_context in parallel, do they interfere with each other? (xref PEP 567)
- Can a child thread reuse the queue of a parent thread?