i made a cuda program under the folder ‘project’ just like other examples SDK gave and modified the file ‘Makefile’ according to ‘simpleTemplates’, then i can correctly make my program and run it, but i want to debug it on CPU now, so i need compile my program using ‘-deviceemu’, it seem that i should add this option in the file ‘common/common.mk’, but i don’t know where i should add it, hope someone can give a tip
Thanks, i had read it. i had to modify nothing. the problem was, i did not run ‘make dbg=1’ within the common folder, so i could not compile other things in this mode. :rolleyes: