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
2014-6-17
0 个投票
Try using 'double2' in your kernel source code, which should be exactly the same as cuDoubleComplex.
类别
在 帮助中心 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!