i have added a simple cuda program to an existing project using mfc,
the debug version can link and run.
but the emudebug version can’t link
You can find all the project files, and run it.
you can compile and execute it in emudebug mode, BUT not with
MFC functions, because of a linker error.
There are explanations how to add a cuda program in an existing
test.zip (492 KB)