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

6 vues (au cours des 30 derniers jours)
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 commentaire
Joss Knight
Joss Knight le 7 Fév 2018
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.

Connectez-vous pour commenter.

Réponse acceptée

Raghavendra Ramachandra
Raghavendra Ramachandra le 7 Fév 2018
Thanks for the suggestion. The first option worked well and the problem is now fixed.

Plus de réponses (1)

Jeffrey Daniels
Jeffrey Daniels le 12 Mar 2018
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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by