Occupied graphics memory on Vista/7

Hi!

on windowsXP the rivaTuner tool allows to display the total occupied graphics memory. This is very useful for gpu computing developers, since we can see how much memory we still can use, or whether we need to optimize the code for memory usage or not.

rivaTuner however works only on XP, coz it uses (afaik) some directx call, that doesnt work any longer on vista/7 as the graphics memory is somewhat virtualized.

Is there some cuda call/ tool for windows that allows to see how much of the graphics memory is occupied? I think it would be very useful for us, and nvidia should even provide one! :)

thanks