Skip to content

Generate random numbers asynchronously on the GPU #815

Description

@AndrewBMadison

ggraphitti's current random number generation system consists of a series of C function calls, with RandomNormGPU as the kernel that is repeatedly invoked after the initial setup. This approach generates only a small number of random numbers per call, resulting in low GPU occupancy and frequent kernel launches. My plan is to introduce a dedicated class that generates random numbers asynchronously and in larger batches, improving GPU utilization while also enhancing encapsulation and modularity.

Metadata

Metadata

Labels

GPUperformancerefactordoesn't change functionality, just improves code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions