- Download the latest driver for your GPU from the NVIDIA drivers page, install and reboot.
- Instead of installing the latest driver, click on "BETA drivers and archive" and install the oldest driver in the list for your card. If that works, work your way up the list installing later drivers until you find the newest one which works.
how to resolve: Error using nnet.internal.cnngpu.convolveForward2D An error occurred during PTX compilation of <image>.
조회 수: 5 (최근 30일)
이전 댓글 표시
Raghavendra Ramachandra
2018년 2월 7일
답변: Jeffrey Daniels
2018년 3월 12일
I am getting following error in Matlab 2017b:
Error using nnet.internal.cnngpu.convolveForward2D An error occurred during PTX compilation of image.
can anyone suggest how to resolve this?
Following are tried: - reinstalling the Matlab. - gpu was reset
댓글 수: 1
Joss Knight
2018년 2월 7일
Some customers are seeing similar issues with newer CUDA 9.1 drivers. Try the following:
If you can, report back here which drivers are faulty.
채택된 답변
추가 답변 (1개)
Jeffrey Daniels
2018년 3월 12일
Once again Joss Knight has the correct answer. I would supplement his answer by adding that I already had the latest drivers installed when I experienced a similar 'PTX compilation' error after I pushed the GPU beyond it's memory limits with too many workers. I ran gpuBench and got zeros for all metrics except FFT, which I thought was curious but assured me I had not broken my GPU. I reinstalled the factory drivers and gpuBench worked again. Then I reduced the number of parallel workers I run at one time. I have not had the error again yet. Your results will vary based on the size of your matrix operations.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!