CUDA on Cygwin

Hi,

Is it possible to compile CUDA code on Cygwin (a linux like environment ). Also do I need to have MV Studio 2005 then ?

Thanks

Yes, it is possible. However, you cannot combine NVCC for Win with GCC, so VisualC++ is still required. I’m using CUDA in Cygwin just for GNU Make.

Thanks for replying cvnguyen’

So you mean I can compile my code using NVCC and VC++ and the GCC will not play any role ? Am I right?

Yep, you can call NVCC and CL.EXE from Cygwin prompt.