Using a normal distribution in GPU machine and CUDA -


i have question of using gpu machine here. i'm working on cuda file. want put random noise function, , i'm using normal distribution of mean 0 , variance 1. after several tries, still can't make work.

this tried , don't know why didn't work. i'm using school's cluster run experiment.

i_tcs = itcsamp*curand_normal(); 

i_tcs , itcsamp here functions. both curand.h , curand_kernel.h. , error messages got were:

error: no instance of overloaded function "curand_normal" matches argument list 

please let me know if know possible solutions. i'll appreciate that!

here example use it:

__global__ void kernel(unsigned int * soboldirectionvectors, curandstatesobol32 *state) {          curand_init(soboldirectionvectors, 1234, &state[0]);          float normalrandomvariable = curand_normal(&state[0]); } 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -