message: Add #define guards for get_xxx_tensorrt_version()
diff: @@ -223,20 +223,24 @@ std::pair<string, string> calib_convert(
  version_struct get_linked_tensorrt_version() {
  // Return the version at the link time.
  - const auto &lv = tensorflow::tensorrt::convert::GetLinkedTensorRTVersion();
  version_struct s;
  +#if GOOGLE_CUDA && GOOGLE_TENSORRT
  + const auto &lv = tensorflow::tensorrt::convert::GetLinkedTensorRTVersion();
  s.vmajor = lv[0];
  s.vminor = lv[1];
  s.vpatch = lv[2];
  +#endif // GOOGLE_CUDA && GOOGLE_TENSORRT
  return s;
  }
  version_struct get_loaded_tensorrt_version(){
  // Return the version from the loaded library.
  - const auto &lv = tensorflow::tensorrt::convert::GetLoadedTensorRTVersion();
  version_struct s;
  +#if GOOGLE_CUDA && GOOGLE_TENSORRT
  + const auto &lv = tensorflow::tensorrt::convert::GetLoadedTensorRTVersion();
  s.vmajor = lv[0];
  s.vminor = lv[1];
  s.vpatch = lv[2];
  +#endif // GOOGLE_CUDA && GOOGLE_TENSORRT
  return s;
  }
  