Install OpenCL For The AMDGPU Open Source Drivers On Debian and Ubuntu -

The proprietary AMDGPU-PRO drivers only support a select small subset of Linux distributions. Non-LTS Ubuntu releases aren't supported, and Debian users are completely out of luck. To make things worse, AMD doesn't provide OpenCL support through their open source drivers.
This is a companion discussion topic for the original entry at