Cuda Error: no kernel image is available for execution on the device

Hi ,

Please specify how you installed CUDA 10.0.
You may try :
sudo apt install cuda-core-10-0

please refer to this post :