See my scripts in https://gitlab.com/illwieckz/i-love-compute
There is a script for Ubuntu to install last known working drivers:
It's possible to install only one of them, a selection of them, or all of them. Though, some may brings bugs while other works, so maybe you'll want to only install the one that works.
You'll know more about the situation of AMD OpenCL drivers there:
Try re-posting this thread at AMD Developer's OpenCL Forum. but first you need to get whitelisted by AMD Moderator @dipak by re-posting at Developer's Newcomers: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum