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.

thanks

first step → the general difference between debug and release (What’s the difference between a Debug vs Release Build? | You’ve Been Haacked)
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.