[問題] cuda 在mac os x 上compile錯誤!

看板C_and_CPP (C/C++)作者 (Silly Boy)時間15年前 (2011/03/17 00:26), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
小弟為目前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)
文章代碼(AID): #1DWEIysP (C_and_CPP)
文章代碼(AID): #1DWEIysP (C_and_CPP)