There is a NVIDIA TESLA M2070-Q and Ubuntu 18.04
Installing the 390 driver and CUDA 9.1
When trying to run
#include <stdio.h>
__global__ void foo() {}
int main()
{
foo<<<1,1>>>();
cudaDeviceSynchronize();
printf("CUDA error: %s\n", cudaGetErrorString(cudaGetLastError()));
return 0;
}
It displays the error “CUDA error: no kernel image is available for execution on the device”
how to overcome this problem - I do not know.
nvidia-smi displays the following
Mon Feb 10 17:52:59 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla M2070-Q On | 00000000:0B:00.0 Off | 0* |
| N/A N/A P12 N/A / N/A | 0MiB / 5301MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+