[問題] cuda 在mac os x 上compile錯誤!
小弟為目前cuda的新手,目前在安裝環境下遇到如下的問題,期待有大大能幫忙。
開發平台(Platform):
Mac OS X + Xcode
額外使用到的函數庫(Library Used):
無
問題(Question):
照官方文件說明去make sdk所給的範例,出現以下錯誤碼。
餵入的資料(Input):
下make指令
預期的正確結果(Expected Output):
make 成功
錯誤結果(Wrong Output):
concurrentKernels.cu(124):
error: identifier "cudaEventDisableTiming" is undefined
concurrentKernels.cu(140):
error: identifier "cudaStreamWaitEvent" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_00000f98_00000000-6_concurrentKernels.compute_10.cpp1.ii".
make[1]: *** [obj/x86_64/release/concurrentKernels.cu.o] Error 2
make: *** [src/concurrentKernels/Makefile.ph_build] Error 2
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.32.3.150
※ 編輯: nickboy0211 來自: 140.112.30.129 (03/17 10:36)
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章