Runing code with matlab on the GPU restarts the PC
조회 수: 4 (최근 30일)
이전 댓글 표시
We have Z820 worksation which have 192GB RAM and RTX2080 TI GPU on it. When I wrote below code
X values which is small (X<4000) it works. But big values PC restart itself after run the code . I set up latest nvida cuda drivers .
Would you give me advices??
X=4000;
tempCPU= single(rand(X,X))
tempGPU= gpuArray(tempCPU)
time=gputimeit(@()(tempGPU*tempGPU))
댓글 수: 2
Raymond Norris
2021년 1월 6일
Just to clarify, for large values for X, MATLAB runs the code and then your machine reboots (i.e. restarts)? What values of X are you seeing this happen?
채택된 답변
Joss Knight
2021년 1월 10일
Almost always the only way the GPU can cause your PC to restart is a power supply issue. You should check that your PC's power supply is sufficient to supply the maximum power required by your GPU.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!