Skip to content

make CPU RNG thread-safe #3794

@soumith

Description

@soumith

currently our RNG functions on the CPU are not thread-safe, and one can run into weird segfaults if running them from multiple threads.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions