tags:

views:

1009

answers:

1

Hi,

Was just wondering if anyone has any experience working with CUDA and XCode? I'm having a nightmare setting it all up...

Dawson

+1  A: 

I'm working with XCode, CMAKE & CUDA. No problems so far! Works like a charm, though you'll need to make sure, that XCode is using the gcc 4.0 instead of 4.2 (in case of 10.6).

I suggest you to also use CMAKE in combination with FindCUDA.cmake for generating the xcode project file. FindCUDA.cmake is here

There is also a plugin for XCode, making it recognize .cu files, found here in message #29. Also a good "tutorial" is given here, mentioning the plugin.

macs
Thanks, I'll look into this.
Laurence Dawson