Cudaa kernel launch failure
显示 更早的评论
Hi, I have made cuda c mex file after I run the mex file outputs are obtain but when gpu enable commands are run . I get an error cuda kernel launch failure. Further investigating I came to know that error is "gpu device busy or currantly unavailable "
2 个评论
Joss Knight
2017-11-10
Probably your MEX kernel is still running when you try to access the result. Did you call cudaDeviceSynchronize() or cudaStreamSynchronize() after your MEX computation?
ARSALAN RIAZ
2017-11-10
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!