Skip to content

Thread-safety of device_context #11

Closed
@eric-wieser

Description

@eric-wieser

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions