how to resolve: Error using nnet.inter​nal.cnngpu​.convolveF​orward2D An error occurred during PTX compilation of <image>.

4 次查看(过去 30 天)
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
Joss Knight 2018-2-7
Some customers are seeing similar issues with newer CUDA 9.1 drivers. Try the following:
  1. Download the latest driver for your GPU from the NVIDIA drivers page, install and reboot.
  2. 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.
If you can, report back here which drivers are faulty.

请先登录,再进行评论。

采纳的回答

Raghavendra Ramachandra
Thanks for the suggestion. The first option worked well and the problem is now fixed.

更多回答(1 个)

Jeffrey Daniels
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.

类别

Help CenterFile 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!

Translated by