Easily Reproducible GPU Bug in R2017a

1 view (last 30 days)
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?

Accepted Answer

Edric Ellis
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!