usage of cudaMallocPitch

When we use cudaMallocPitch() or some similar functions, what does the parameters “stride” or “pitch” mean?

pitch/stride is the number of bytes separating the starting addresses of consecutive rows in your 2D texture. This is usually the width of the array times the size of the texture elements, and rounded up to so that it suits the underlying texture hardware.