![ubuntu 18.04 cuda 10 ubuntu 18.04 cuda 10](https://1.bp.blogspot.com/-sTLyOHvGSd8/YHMe8WCemnI/AAAAAAAA5vU/KLVSoldcZQIPLZOPWrMBhnn2Y0FctPDBQCLcBGAsYHQ/w1200-h630-p-k-no-nu/Screenshot%2Bfrom%2B2021-04-11%2B12-07-51.png)
Sudo make install Configure environment variables Or go NVIDIA official website Query the corresponding capabilities of your graphics card. This parameter can be input NVIDIA SMI through the terminal to get the video card information, and then Baidu can get the computing power. The only thing to note is CUDA ﹣ arch ﹣ bin. opencv_contrib-3.4.5/modules/ -D CUDA_CUDA_LIBRARY =/usr/local/cuda/lib64/stubs/libcuda.so -D CUDA_ARCH_BIN =7.5 -D CUDA_ARCH_PTX = "" -D WITH_CUDA =ON -D WITH_TBB =ON -D WITH_V4L =ON -D INSTALL_C_EXAMPLES =ON -D BUILD_EXAMPLES =ON -D WITH_QT =ON -D WITH_OPENGL =ON -D ENABLE_FAST_MATH =1 -D CUDA_FAST_MATH =1 -D WITH_CUBLAS =1 -D WITH_NVCUVID =1 -D BUILD_opencv_cudacodec =OFF. The cmake parameters are as follows: cmake -D CMAKE_BUILD_TYPE =RELEASE -D CMAKE_INSTALL_PREFIX =/usr/local -D OPENCV_EXTRA_MODULES_PATH =. Three configuration CUDA version opencvįirst, enter the folder where opencv is installed, then create a new folder, build CUDA, and then enter the folder. Pass indicates that the installation was successful. Testing with program in cuda cd /usr/local/cuda/samples/1_Utilities/deviceQuery Switch to root with su, and then run source ~/.bashrcĬheck whether the installation is successful Add the following contents to it: export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/local/cuda-10.0/lib64Įxport PATH = $PATH:/usr/local/cuda-10.0/binĮxport CUDA_HOME = $CUDA_HOME:/usr/local/cuda-10.0 In the home directory, press ctrl+h, find the. A driver of version at least 384.00 is required for CUDA 10.0 functionality to work Configure environment variables ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. Install NVIDIA Accelerated Graphics Driver for linux-x86_64 410.48?ĭo you want to install a symbolic link at /usr/local/cuda? Next, you will make a choice, as follows Do you accept the previously read EULA?
![ubuntu 18.04 cuda 10 ubuntu 18.04 cuda 10](https://benisnous.com/wp-content/uploads/2020/09/TUTO-Comment-installer-Ubuntu-a-cote-de-Windows-10.jpg)
Then go back crazy until it reaches 100%. Open the terminal at the location where you download cuda and enter: sudo sh cuda_10.0.130_410.48_n Then download cuda 10.0 at: CUDA 10.0 download
UBUNTU 18.04 CUDA 10 HOW TO
For how to configure opencv-3.4.5 + opencv-3.4.5, see this blog: opencv-3.4.5+contrib First, configure opencv3.4.5+contrib, so you only need to continue to configure cuda on this basis.