However, an application compiled with API from the older driver version will work properly when a newer CUDA driver is installed in that environment. This means that the application or library that is compiled with API from the newer CUDA driver version will not be working properly in an environment where older CUDA driver version is installed. CUDA driver upgrade is backward compatible only and not forward compatible. One thing to note when upgrading CUDA is whether we currently have CUDA application or library compiled with newer CUDA driver version. The instruction on how to update the display driver can be seen in this article. If the version is older than 410.48, obviously we need to update the driver. To check the current display driver version installed in the system, we can use nvidia-smi command as follows: $ nvidia-smi | grep "Driver Version" | awk '' For Linux, the compatibility table can be seen below: CUDA VersionĪs can be seen in the table, upgrading to CUDA 10 from CUDA 9.1 requires NVIDIA display driver with version at least 410.48. How about upgrade scenario for other CUDA versions? NVIDIA maintains the compatibility table for CUDA and NVIDIA display driver version in its CUDA release note page. The following picture visualizes the standard upgrade process from CUDA 9.1 to CUDA 10: the toolkit is upgraded from 9.1 to 10 and the driver is upgraded from 390 to 410. In other words, standard CUDA upgrade involves two upgrade processes: CUDA (toolkit) upgrade and driver upgrade. This means that when upgrading to newer version of CUDA toolkit, we need to make sure that the currently installed display driver version is newer/bigger than the minimum compatible display driver version. NVIDIA states that each version of CUDA toolkit requires certain minimum NVIDIA display version that should be satisfied. But let’s have a simple scenario where we already have CUDA 9.1 installed and only want to upgrade to CUDA 10. If we are about to upgrade to CUDA 10, how can we achieve so? Can we simply upgrade the CUDA toolkit without upgrading the display driver? Handling CUDA Version UpgradeĬUDA version upgrade itself can be a misleading term because since CUDA 8.0, multiple versions of CUDA can be installed on the same machine. As a concrete example, when this article was first written in December 2018, the latest CUDA version was CUDA 10, taking the spotlight from CUDA 9.2. While the guide is still valid for CUDA 9.2, NVIDIA keeps releasing newer versions of CUDA. We went through several types of CUDA installation methods, including the multiple-version CUDA installs. The last post about CUDA installation guide was for CUDA 9.2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |