Hi,
I am performing a normal cudamemcpy function in my kernel, but the values inside my structure do not seem to be transferring onto the GPU correctly.
Here is the line of code:
cudaMemcpy(envreal_d,&envreal_,sizeof(struct envreal),cudaMemcpyHostToDevice);
envreal_ is the struct with all the data in it, and I have already allocated memory for envreal_d on the device. I just get zero values for everything. Could it be a memory problem?
thank you,
-geo_diver