Yeah, on device is especially hard with managing state. I recently wrote some template cpp to try and wrap it all.
@nvidia curand is brittle and complicated to use. I was trying to write the following:
complex z, upper half plane, random -> z+1 or -1/z
there is no simple wrapper for cuRandGenerateUniform, as far as I can
tell.
-
-
-
I'm not sure if this would help, but was pretty happy with this for my use case, can switch between reading values from array vs generating on device with curand:https://gist.github.com/cpdurham/df27724d05e6c9cf1aed1089a12bc101 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.