關於CUDA傳入二維陣列?? - 顯卡

By Gary
at 2009-09-11T13:14
at 2009-09-11T13:14
Table of Contents
不知道cuda能不能使用二維的陣列??
處理圖片目前都要先換成一維傳入處理
感覺很麻煩
cuda(img);
void cuda(int **img)
{..........}
__global__ void kernal(int **img )
{....}
寫成兩顆**還是一值有問題
error C2664: 'cuda' : 無法將參數 1 從 'int [100][100]' 轉換成 'int **'
不知道怎麼改??
多謝指教
--
--
處理圖片目前都要先換成一維傳入處理
感覺很麻煩
cuda(img);
void cuda(int **img)
{..........}
__global__ void kernal(int **img )
{....}
寫成兩顆**還是一值有問題
error C2664: 'cuda' : 無法將參數 1 從 'int [100][100]' 轉換成 'int **'
不知道怎麼改??
多謝指教
--
--
Tags:
顯卡
All Comments

By Selena
at 2009-09-16T11:45
at 2009-09-16T11:45
Related Posts
P5QL-EM這塊板的內顯

By Jessica
at 2009-09-11T06:52
at 2009-09-11T06:52
常見的問題-4 你搞得我好亂啊~~

By Queena
at 2009-09-11T01:00
at 2009-09-11T01:00
舊電腦該如何拯救~

By Rachel
at 2009-09-11T00:57
at 2009-09-11T00:57
請問有支援HTPC的顯示卡嗎??

By Una
at 2009-09-10T23:16
at 2009-09-10T23:16
asus 9800gt top 綿綿不絕的逼聲

By Hedda
at 2009-09-10T21:15
at 2009-09-10T21:15