How to fix this problem: matlab is forced to close whenver CUDA Kernel is called

My matlab just crashed when I was using CUDA kernel, before it ran like a charm. After restarting the computer, it still does not run properly. Matlab can still run on CPU parallel and define GPUArrays, but whenever I call GPU CUDA Kernel, it pops a window saying matlab encounters an internal problem and has to close. I sent out the automatic report once. I think my NVIDIA cards are fine, since I can still run their cuda samples on command prompt. Would you please help me with this? Thank you so much!

2 件のコメント

Jill Reese
Jill Reese 2013 年 11 月 11 日
Were you able to execute this kernel code successfully outside of MATLAB?
Silvia
Silvia 2014 年 1 月 20 日
Do you call the CUDA kernel with indexed variables as input? I had the same problem when using a kernel with indexed input such as input(1,[1 2 3]) where input was data on GPU. In this case it helped to define the index outside the function call and use the kernel with input(1,index) where index=[1 2 3] was defined before using the kernel.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGPU Computing についてさらに検索

タグ

質問済み:

2013 年 11 月 9 日

コメント済み:

2014 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by