And it also works on windows if CUDA version is 7.5! On Wed, Nov 25, 2015 at 7:58 PM, Joaquim Masset Lacombe Dias Garcia < joaquimdgar...@gmail.com> wrote:
> Wow! it seems that something is wrong in CUDA 7.0 ! > > I updated my MAC to cuda 7.5 and bith the C code and julia code worked > fine! > This other guy: > > http://stackoverflow.com/questions/33904554/curand-error-while-alternating-with-device-initialization-and-reset-in-cuda-7-0?noredirect=1#comment55573150_33904554 > > had the C code running smoothly on windows with CUDA 7.5 > > I will try the julia code on my windows notebook later this week with CUDA > 7.5 > > If somebody else could confirm the problem on curand in cuda 7.0, we could > add that in CURAND.jl documentation. > > > > Em quarta-feira, 25 de novembro de 2015 19:20:48 UTC-2, Andrei Zh escreveu: >> >> @Joaquim Would it be possible for you to upgrade or donwgrade your CUDA >> version? >> >> Meanwhile, we are still waiting for other people with Windows or Mac :D >> >> On Wed, Nov 25, 2015 at 6:35 PM, Sergio Muniz <srmun...@gmail.com> wrote: >> >>> It works fine here, on Ubuntu 14.04 and CUDA 6.5. >>> >>> Cheers, >>> [S]. >>> >>> >>> >>> >>> On Tuesday, November 24, 2015 at 9:30:32 PM UTC-2, Joaquim Masset >>> Lacombe Dias Garcia wrote: >>>> >>>> Interesting, both my machines (windows and mac) have CUDA 7.0, possibly >>>> thats the issue, since the C code in >>>> https://github.com/JuliaGPU/CURAND.jl/issues/3#issuecomment-159319580 >>>> fails in both. >>>> >>>> If some linux user could test this version, our statistics would be >>>> more complete. I will try 6.5 and 7.5 >>>> >>>> Em terça-feira, 24 de novembro de 2015 21:21:41 UTC-2, Tim Holy >>>> escreveu: >>>>> >>>>> 6.5 >>>>> >>>>> --Tim >>>>> >>>>> On Wednesday, November 25, 2015 01:37:22 AM Andrei wrote: >>>>> > On Tue, Nov 24, 2015 at 8:03 PM, Kristoffer Carlsson < >>>>> kcarl...@gmail.com> >>>>> > wrote: >>>>> > > The original code in the OP fails for me >>>>> > >>>>> > Yes, this is expected behavior: for convenience, CURAND.jl creates >>>>> default >>>>> > random number generator, which obviously becomes invalid after >>>>> > `device_reset()`. At the same time, my last code snippet creates new >>>>> and >>>>> > explicit RNG, which fixes the issue on Linux. >>>>> > >>>>> > The problem is that on some platforms even creating new generator >>>>> doesn't >>>>> > help, so I'm trying to understand the difference. >>>>> > >>>>> > @Tim, @Kristoffer, could you also specify CUDA version in use, >>>>> please? >>>>> >>>>> >>