TensorFlow 安装与环境配置

您好,想请问按照您的方法和顺序在conda里安装tensorflow和cuda之后,是直接可以使用GPU运行的么?
我按照上面出现了检测不到GPU的情况,并且好像没有缺少什么文件的报错。CPU正常。
print(tf.test.gpu_device_name())有错误信息,输出大概这样。
[] [PhysicalDevice(name=’/physical_device:CPU:0’, device_type=‘CPU’)]
2022-02-18 19:55:37.195693: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

版本是
cudatoolkit 11.3.1 h2bc3f7f_2
cudnn 8.2.1 cuda11.3_0
tensorboard 2.6.0 py_1
tensorboard-data-server 0.6.0 py37hca6d32c_0
tensorboard-plugin-wit 1.6.0 py_0
tensorflow 2.6.0 mkl_py37h9d15365_0
tensorflow-base 2.6.0 mkl_py37h3d85931_0
tensorflow-estimator 2.6.0 pyh7b7c402_0

各种重装都试了比较头大,想请问有无这种情况出现过?