CUDA is parallel computing platform developed my NVIDIA, the top video card producer for both PC and MAC platform. Parallel computing allows for execution of programs over several computers, servers or CPU’s.
Because NVIDIA graphics processing units are focused on mathematical computations, developers can use them for processing complicated data such as neural networks. A typical computer has anywhere between 1 and 8 cores. An entry level NVIDIA card such as the 1050Titan has 768 cores. Now imagine running mathematical computations on 8 cores vs 768!
Using NVIDIA CUDA you can develope high speed, deep learning neural networks and this guide shows you how to install the CUDA development kit on Ubuntu 18.04 based operating systems like KDEneon.
1. Download CUDA 10.0
The first thing you need to do is go download the CUDA 10 local repository for Ubuntu 18.04. Here is the download link for CUDA. The NVIDIA download page will take you to several download options. For this tutorial we are focusing on a local install using a .deb installer file.
2. Install the CUDA 10.0 deb installer.
The following commands will install the CUDA 10 files.
sudo dpkg -i cuda-repo-ubuntu1804-10-0-local-10.0.130-410.48_1.0-1_amd64.debsudo apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
At this point you can install CUDA like any other Ubuntu or KDEneon program from the command prompt.
sudo apt-get update sudo apt-get install cuda