The CUDA-driver is software specifically designed for Nvidia GPU's to enable parallel processing of data.
Since CPU and GPU can cooperate to perform tasks simultaneously, the performance of an application can increase dramatically.
The official installation guide for CUDA can be found here:
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
The CUDA component only works in conjunction with flavours that are explicitly labeld as "GPU".
We have created a component called 'CUDA' that executes the installation steps automatically.
This component performs the following steps:
- Install / update the latest kernel headers and development packages
- The steps in this local installation guide are then being executed to download the cuda repositories and install the driver: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal
- Then step 9 (Post-Installation) is followed and the CUDA path is exported to all profiles (this currently needs to be changed from the export command to the /etc/profile.d/cuda.sh file)
- Finally the persistence daemon is started and a Cronjob is created to start this daemon manually on boot
The "SRC-External component" must be executed before the CUDA component.
When composing your catalog item's components list, make sure you select the SRC-External component and place it before the CUDA component.