fix ROCM build.
fix ROCM build.

PiperOrigin-RevId: 288409291
Change-Id: Iba69c37e531a50602818de14da526bab040941a0

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