message: Needed to move IsSupportedGPU to after AutoMixedPrecisionTest class definition.
diff: @@ -43,13 +43,6 @@ namespace tensorflow {
  namespace grappler {
  namespace {
  -bool IsSupportedGPU() {
  -#ifdef GOOGLE_CUDA
  - return GetCudaVersion(*virtual_cluster_.get()) >= 9010;
  -#else
  - return true;
  -#endif
  -}
  template <DataType DTYPE>
  Tensor GenerateIdentityMatrix(int64 height, int64 width) {
  @@ -1031,6 +1024,14 @@ TEST_F(AutoMixedPrecisionTest, TensorListThroughFunction) {
  }
  }
  +bool IsSupportedGPU() {
  +#ifdef GOOGLE_CUDA
  + return GetCudaVersion(*virtual_cluster_.get()) >= 9010;
  +#else
  + return true;
  +#endif
  +}
  +
  int GetCudaVersion(const Cluster& cluster) {
  auto devices = cluster.GetDevices();
  for (const auto& device : devices) {
  