using CUDA kernel of complex variables

Hi, I wrote a CUDA kernel to run via MATLAB, with several cuDoubleComplex pointers. I activated the kernel with complex double vectors (defined as gpuArray), and gםt the error message: "unsupported type in argument specification cuDubleComplex".
how do I set MATLAB to know this type?

回答 (1 件)

Edric Ellis
Edric Ellis 2014 年 6 月 17 日

0 投票

Try using 'double2' in your kernel source code, which should be exactly the same as cuDoubleComplex.

カテゴリ

ヘルプ センター および File ExchangeGPU Computing についてさらに検索

タグ

質問済み:

ido
2014 年 6 月 16 日

回答済み:

2014 年 6 月 17 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by