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?

Antworten (1)

Edric Ellis
Edric Ellis am 17 Jun. 2014

0 Stimmen

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

Kategorien

Gefragt:

ido
am 16 Jun. 2014

Beantwortet:

am 17 Jun. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by