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!