I was doing some memory allocation and have some doubts. Using cudaMallocPitch i know i can calculate the adress of an element of a 16X8 matrix in the array by defining an index:
Now i want to try to do the same thing using cudaMalloc3D, but i don’t know how to come up with an index like I2d for the adress of the 3d matrix. Can anyone Help??