Skip to content

Try new rand(Float32) in kernel #7

@simsurace

Description

@simsurace

So this rand is basically an alternative to the GPUArrays.gpu_rand?

This is rand from Random, made compatible by redefining default_rng on the device and using our own RNG. So yes, this is definitely the path forward, but we'll obviously have to flesh out the implementation by making sure the necessary APIs are GPU compatible and either overriding more calls or extending the RNG.

Originally posted by @maleadt in JuliaGPU/CUDA.jl#772 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions