Global memory coalescing

Hi,

Is there a way to look at the intermediate files (ptx or cubin) and tell if a global memory access will be coalesced? Or is this entirely in the microarchitecture and not visible to the programmer? I usually write my code carefully enough thinking about coalescing but it would be nice to have some sort of confirmation.

Thank you,

Rodrigo

I think the only way to be certain is to run your kernel under the profiler and see if you have any non-coalesced reads/writes.