I would like to know how to ask the CUDA runtime what the alignment requirement for 2D-texture references per line (this is in x-direction) is. The only member of cudaDeviceProp that looks relevant here seems to be ‘textureAlignment’. But this is only my tests (done on a C1060) show that this is only the aligment requirement for the texture base address (value is 256 bytes for the C1060), but in the x-direction an alignment of 32 bytes (or 8 floats) seems to be sufficient. So I wonder where I can get this information from the API. So far I haven’t found anything.