setting ptxas options Another simple question

I read in the user manual that you can get information about the memory usage of your code by compiling with --ptxas-options=-v. I was wondering if anyone knows how to do this with the makes provided with the demos. I don’t really understand enough yet about make files to make my own, or I would just do that.

Add this line to the end of the Makefile:

NVCCFLAGS += --ptxas-options=-v

Or just write your own Makefile instead of using the one provided by the SDK.