Blender 2.82a cannot use CUDA or OPENCL
Install CUDA toolkit from the Ubuntu repo:
sudo apt update
sudo apt install nvidia-cuda-toolkit
sudo reboot

After CUDA install, without reboot, Blender won't start at all, so, reboot is very important!
I had the very same problem. That worked for me.