how to run in Emulation mode?

After the make, how to run the program?

Read the section of chapter 3 of the programming guide called “Debugging using the Device Emulation Mode”. You have to pass the -deviceemu option to nvcc during compilation. This has nothing to do with make, per se.

I use with linux.

I dont find what you mean.

After I wrote make emu=1, from where I need to run?

Can you give me little example?


I have directory obj/release/ and obj/emurelease/

when I do make emu=1 its generate files at obj/emurelease/

but what I do with them?


I understand.