Only set the cuda_toolkit_path (and thus add --cuda-path to the command line) when compiling with cuda-clang.
Only set the cuda_toolkit_path (and thus add --cuda-path to the command line)
when compiling with cuda-clang.

PiperOrigin-RevId: 277656018
Change-Id: I5219aa5bfe225f07328ccaf409c8db5172eb2611

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