Open lnihlen opened 4 years ago
GPU-side randomness is not nearly as robust as is CPU-side, but it can be done. Implement support for the rand and rand2 UnaryOpsVGens.
rand
rand2
Also linrand, bilinrand, sum3rand, coin.
linrand
bilinrand
sum3rand
coin
Many of these have first-class VGen objects, see ExpRand, IRand, and LinRand
ExpRand
IRand
LinRand
Some notes from the glm website about randomness:
GPU-side randomness is not nearly as robust as is CPU-side, but it can be done. Implement support for the
rand
andrand2
UnaryOpsVGens.