Random Number Generator in CUDA

后端 未结 9 1333
小鲜肉
小鲜肉 2020-12-05 08:40

I\'ve struggled with this all day, I am trying to get a random number generator for threads in my CUDA code. I have looked through all forums and yes this topic comes up a

9条回答
  •  爱一瞬间的悲伤
    2020-12-05 08:56

    There's an MDGPU package (GPL) which includes an implementation of the GNU rand48() function for CUDA here.

    I found it (quite easily, using Google, which I assume you tried :-) on the NVidia forums here.

提交回复
热议问题