For 1D and 2D textures. Is there a guideline on when to use cudaMallocArray versus cudaMallocArray3D (with unused dimensions set to 1).
How are the allocated memory structures different between the two ?
In general, I would like understand how one chooses between the following available memory allocation options (for textures)
-
Linear memory Array (using cudaMalloc)
-
Pitched Linear memory (cudaMallocPitch)
-
cudaMallocArray
-
cudaMallocArray3D
Appreciate if someone can point me to previous forum discussions that may have covered this.
Thank You.