Throw error when TF_ListPhysicalDevices fails.
Throw error when TF_ListPhysicalDevices fails.

PiperOrigin-RevId: 318173722
Change-Id: I3649bfa6804fd81252292470516872382612c23d

Intel-Corporation/tensorflow,yongtang/tensorflow,aldian/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,aam-at/tensorflow,annarev/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,aldian/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,davidzchen/tensorflow,aldian/tensorflow,paolodedios/tensorflow,annarev/tensorflow,gautam1858/tensorflow,aldian/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,sarvex/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,sarvex/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,aldian/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,karllessard/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,petewarden/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,karllessard/tensorflow,yongtang/tensorflow,aam-at/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,annarev/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,yongtang/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow