Computer Acer Nitro 5 under Window 11 Family. Ram 16 gigas. Two Graphic cards Intel(R) UHD Graphics and NVIDIA Geforce RTX 3060 Laptop GPU. Cuda version 12.1 Driver version 531.61. Installed cuda toolkit 12.1 and CuDNN 8.9.1 . Visual Studio 2022 with C++ . When I run in Visual Studio 2022 a sample cuda file that sums two vectors in the GPU it works fine. After installing Tensorflow 2.12.0 with python 3.11.3 I get :
len(tf.config.list_physical_devices(‘GPU’))>0
False
hereafter environment variables
I have tried many times after checking environment variables but it never recognizes the gpu. Tensorflow works only on CPU.
Can somebody help me get out of this situation or direct me to someone who can.
Thank you in advance.