I keep getting this error in VS2008:
argument of type “int *” is incompatible with parameter of type “size_t *”
all i did was follow the programming guide 2.2
my code is:
[codebox] float* d_2d;
cudaMallocPitch((void**)&d_2d, &pitch, N*sizeof(float), N);[/codebox]
thank you in advance!