XCode and CUDA integration

前端 未结 1 1300
悲&欢浪女
悲&欢浪女 2021-02-10 00:23

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

Dawson

相关标签:
1条回答
  • 2021-02-10 00:57

    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.

    0 讨论(0)
提交回复
热议问题