On the CPU, I am often using 'sub-images' of 2-D images (pitch-linear), which are simply pointing to a certain ROI of the 'master' image. So all modifications to the sub-image in fact change the 'master' image also.
Are there any problems in CUDA with sub-images to 2-D images (pitch-linear) on the device memory ? E.g., can a bind a texture to it or an texture object ? Do the NPP routines work properly ? I ask because of issues like that a certain alignment (of the 'start address' of the buffer) could be required by certain routines.
Note that I am mainly interested in stability issues. I suppose there might be minor performance penalties for these sub-images, but that is not my main concern.
Especially, I would be interested if the alignment restriction for the buffer base address mentioned in 'cudaBindTexture2D' documentation here:
"Since the hardware enforces an alignment requirement on texture base addresses, cudaBindTexture2D() returns in *offset a byte offset that must be applied to texture fetches in order to read from the desired memory."
is also necessary for 'Texture objects' (for CC >= 3.0 GPUs) ?