I’m having issues with cudamalloc2d. The pitch it returns seems much too large.
The following code:
unsigned int pitchA;
cudaMalloc2D((void**)&Gdevice.A ,&pitchA ,sizeof(float)*1024,1025);
prints out the unsigned integer:
I have absolutely no idea what is wrong, so if anyone has any insight whatsoever I would greatly appreciate it.