討論串[問題] 幾個CUDA的問題
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 4→)留言6則,0人參與, 最新作者lgen7604時間16年前 (2009/11/29 17:13), 編輯資訊
0
0
0
內容預覽:
_global__ static void DFT(int n, float *input, float. *outputRe, float *outputIm ). {. int k, j;. const float pi = 4.0f*atanf(1.0f);. float phase = (-
(還有487個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者gaiger (hallowed be my name)時間16年前 (2009/11/29 15:10), 編輯資訊
0
0
0
內容預覽:
我又有問題嚕,我把上次的DFT函數. ,為了利用到 block 改成這樣 :. _global__ static void DFT(int n, float *input, float. *outputRe, float *outputIm ). {. int k, j;. const float
(還有731個字)

推噓2(2推 0噓 8→)留言10則,0人參與, 最新作者lgen7604時間16年前 (2009/11/26 19:45), 編輯資訊
0
0
0
內容預覽:
修改了一下你的 function. /*這程式用CPU製造 sin波*/. void GenerateDATA( int n, float *data, float freq ). {. float dt = 1.0f / (n-1);. const float pi = 4 * atanf(1.0
(還有746個字)

推噓0(0推 0噓 2→)留言2則,0人參與, 最新作者gaiger (hallowed be my name)時間16年前 (2009/11/26 00:13), 編輯資訊
0
0
0
內容預覽:
寫了個很蠢的程式去練習 CUDA,這裡是DFT:. (compiler皆為 cuda 2.1). /*這程式用CPU製造 sin波*/. void GenerateDATA( int n, float *data, float freq). {. float dt = 1.0/float(n -1)
(還有1318個字)
首頁
上一頁
1
下一頁
尾頁