JuliaGPU/AMDGPU.jl

Support for rand from Julia Base on device code

Closed this issue · 2 comments

CUDA.jl has support for using functionality like rand(Distributions.Uniform(-1, 1)) on kernel code, which AMDGPU.jl flags as invalid LLVM-IR.

What's the best way to add this kind of functionality? Happy to help.

Probably in the short term we can copy-pasta most of CUDA.jl's implementation.