what is the difference between debug and emurelease while running cuda programs

can anyone explain what is change in the ones that i have mentioned.


first step -> the general difference between debug and release (http://haacked.com/archive/2004/02/14/difference-between-debug-vs-release-build.aspx)
second step -> if you use EMUrelease or EMUdebug you execute the program only on CPU. but if you use release or debug you execute the program on CPU but also on GPU depending on your code.