Cudaa kernel launch failure
Show older comments
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 Comments
Joss Knight
on 10 Nov 2017
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
on 10 Nov 2017
Answers (0)
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!