How can I invoke cuda kernels?
이전 댓글 표시
I am following the example provided by Sarah Wait Zaranek in the webinar "GPU Computing with Matlab", but instead of using her cudatest.cu, I am trying to use my convolution1D.cu which compiles and works in Visual Studio 2012. However, I get a fatal error in Matlab -> nvcc : fatal error : Cannot find compiler 'cl.exe' in path...
I think the line system(['nvcc -ptx ' cuFile ' -o ' ptxFile]); chokes... and the ptx file is not generated. I have searched for the cl.exe file on my pc but I don't find it. I have the Parallel Toolbox installed. I am able to use overloaded matlab functions, push data to GPU memory, etc...
I am not sure if I am invoking the kernel properly in Matlab. Are there other examples?
댓글 수: 1
Jill Reese
2013년 5월 29일
Outside of MATLAB are you able to generate a .ptx file from your .cu file using nvcc?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!