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 Exchange에서 GPU 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