After installing cuda 12.1 in ubuntu 20.04 gpu not running

when i run any program gpu not showing , but software installed

when I execute my hello world program its showing only CPU! running and GPU not showing

its suppose to show the result as per the screenshot which I uploaded
kindly give me a solution ASAP