No OpenCL platform detected

You can find out which drivers you're using by running lshw -c video | grep driver. If you are using Mesa drivers, which are used by default, OpenCL is not yet supported for newer GPUs. AMD's website contains drivers for these newer GPUs, and as far as I know, they support OpenCL on all of their drivers. For example, here is the link to 5500 XT drivers. https://www.amd.com/en/support/graphics/amd-radeon-5500-series/amd-radeon-rx-5500-series/amd-radeon-rx-5500-xt