OpenCL is an abbreviated form for quotOpen Computing Languagequot. It is a programming language that can be used across diverse platforms primarily for accelerated computing. Due to its diverse nature of applicabilities across multiple platforms it is most often referred to as a cross-platform computing language. You can write programs on OpenCL and run them on a variety of devices including CPUs GPUs FPGAs and a lot more.
In this guide Iaposm going to focus on GPUs alone. Iaposve worked with both NVIDIA and AMD GPUs and Iaposm going to show you how you can get them operational with OpenCL in the simplest possible way. .
Though Iaposve used Ubuntu for the host system the Docker part is applicable to all other Linux distributions.
Right on then letaposs get to the details.
Iaposll first show you how to ensure OpenCL works on your main Ubuntu desktopserver. Once that is done Iaposll show you how to run Docker containers for the same purpose with the NVIDIA GPU.