Devise initializing failed. No GPU found for mining

it keeps on saying no minner set. No gpu detected. I tried with Nvidia 3060ti and AMD 5600xt. But still the same issue. tried the beta version also but no luck. Can anybody help.