OpenCL

From UCT EE Wiki
Revision as of 08:55, 4 March 2020 by CRNKEE002 (talk | contribs) (→‎Intel)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
OpenCL Logo.png

Open Computing Language (OpenCL) is the open, royalty-free standard for cross-platform, parallel programming of diverse processors found in personal computers, servers, mobile devices and embedded platforms. OpenCL greatly improves the speed and responsiveness of a wide spectrum of applications in numerous market categories including gaming and entertainment titles, scientific and medical software, professional creative tools, vision processing, and neural network training and inferencing.


In order to use OpenCL on your System, you need the appropriate "drivers" for each piece of hardware in your system. This article will guide you through installation of OpenCL on CPUs and GPUs.

Once the drivers are installed, you will need to install the appropriate linkers.

CPUs

CPU installation depends on the operating system in use.

Intel

If you're using Ubuntu, see this link. Scroll down to "Installation procedure on Ubuntu 18.04" for step-by-step instrctions

A general guide for installing the OpenCL drivers for Intel Processors can be found at this link.

Currently, The Intel NEO package is not supported on Windows.

GPUs

Nvidia

Follow this link to install the appropriate framework for your operating system.


Linkers

Ubuntu

To install the linkers on Ubuntu, run the following:
$ sudo apt install ocl-icd-* opencl-headers