cuda with mingw
We have been developing our code in linux, but would like to compile a windows executable. The non-gpu version compiles just fine with mingw in windows, so I was hoping I'd be able to do the same with the CUDA version.

How can I do it? Do I need to compile kernel code with nvcc outside of mingw (eg mvsc), and the rest with gcc in mingw? Or can I do it all through mingw?
cuda with mingw
===

We have been developing our code in linux, but would like to compile a windows executable. The non-gpu version compiles just fine with mingw in windows, so I was hoping I'd be able to do the same with the CUDA version.

How can I do it? Do I need to compile kernel code with nvcc outside of mingw (eg mvsc), and the rest with gcc in mingw? Or can I do it all through mingw?