3

Is there any way Xcode 4 can compile or just read correctly CUDA code ?

Thanks

Saurabh Gokhale
  • 53,625
  • 36
  • 139
  • 164
Open the way
  • 26,225
  • 51
  • 142
  • 196

2 Answers2

3

You must look at the following links :

Also, a bit related : Can't Build a simple Cuda Program using Xcode !!!

Community
  • 1
  • 1
Saurabh Gokhale
  • 53,625
  • 36
  • 139
  • 164
1

For Xcode 3.2, I used the plugin posted in a thread in Nvidia Forum. I have just upgraded to Xcode 4.0 and cannot build my CUDA project anymore because all .cu files are not compiled. I guess a new build rule in an active target needs to be added.

(I will edit and add more details if I can fix this.)

puri
  • 807
  • 1
  • 11
  • 25