Error when running cuda example

Hi cuda experts,

i am learning to use cuda IPC to do my project. When i was running the example, this error appears:

"CUDA error at simpleIPC.cu:196 code=35(cudaErrorInsufficientDriver) “cudaGetDeviceCount(&devCount)”

I ran this example on 64-bit ubuntu 16.04. I already installed cuda-11.0.

nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2020 NVIDIA Corporation
Built on Wed_May__6_19:09:25_PDT_2020
Cuda compilation tools, release 11.0, V11.0.167
Build cuda_11.0_bu.TC445_37.28358933_0

This is my nvidia-smi information:
Tue Jun 16 20:16:12 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 418.87.00 Driver Version: 418.87.00 CUDA Version: 10.1 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX TIT… Off | 00000000:01:00.0 On | N/A |
| 22% 44C P8 20W / 250W | 684MiB / 12210MiB | 28% Default |
±------------------------------±---------------------±---------------------+
| 1 GeForce GTX TIT… Off | 00000000:02:00.0 Off | N/A |
| 22% 43C P8 20W / 250W | 1MiB / 12212MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 2 GeForce GTX TIT… Off | 00000000:03:00.0 Off | N/A |
| 22% 42C P8 18W / 250W | 1MiB / 12212MiB | 0% Default |
±------------------------------±---------------------±---------------------+

anyone could help me figure out this issue?

You state that you installed CUDA version 11. Your installed driver supports CUDA only up to and including 10.1, per the output of nvidia-smi. Therefore your driver is insufficient to run this version of CUDA, as indicated by the error message.

Solution: Install the latest driver package available for your GPU.

Thx.