Install CUDA for Tesla M40

I try to install cuda driver for my PC but it not working.
I have a GPU Tesla M40 24G and mainboard GA-B75M-D3V with CPU i5 3470. I installed CUDA 11.2 and Driver 460. But “nvidia-smi” output is “No devices were found”. I using Ubuntu 20.04