compiler message re memory usage

When i compile my device kernels inside VS 2009, I get a nice message at the end telling me how much shared memory and how many registers each .cu kernel is using. What flag do I set in nvcc to get the same info? I have read through the nvcc.pdf three times and cant find it.


I am not 100% sure, but i think you could pass --ptxas-options=-v to nvcc to get the desired output.