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?

 채택된 답변

Edric Ellis
Edric Ellis 2017년 11월 22일

0 개 추천

This does indeed appear to be a bug. Thanks for reporting this, I have passed this report on to the appropriate development team.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

질문:

2017년 11월 21일

답변:

2017년 11월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by