How to Install nvidia-opencl-dev in Ubuntu 18.04



Install nvidia-opencl-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install nvidia-opencl-dev

Description:

NVIDIA OpenCL development files

OpenCL (Open Computing Language) is a multi-vendor open standard for general-purpose parallel programming of heterogeneous systems that include CPUs, GPUs and other processors. . This metapackage provides the development files: headers and libraries.

Homepage: https://developer.nvidia.com/cuda-zone

Version: 9.1.85-3ubuntu1

Section: multiverse/libdevel