Easily Reproducible GPU Bug in R2017a
1 view (last 30 days)
Show older comments
There is a GPU bug in R2017a, which can be reproduced by the following simple code:
p=gpuArray(single(randn(1,4,10,2359296)));
max(p,[],3);
it will cause the following error: Error using gpuArray/gather An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS
Any idea why?
0 Comments
Accepted Answer
Edric Ellis
on 22 Nov 2017
This does indeed appear to be a bug. Thanks for reporting this, I have passed this report on to the appropriate development team.
0 Comments
More Answers (0)
See Also
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!