How to get a “random” number in OpenCL

后端 未结 9 742
悲&欢浪女
悲&欢浪女 2020-12-07 22:59

I\'m looking to get a random number in OpenCL. It doesn\'t have to be real random or even that random. Just something simple and quick.

I see there is a ton of rea

9条回答
  •  时光说笑
    2020-12-07 23:16

    It seems OpenCL does not provide such functionality. However, some people have done some research on that and provide BSD licensed code for producing good random numbers on GPU.

提交回复
热议问题