Fix grappler to use CudaGpuId instead of TfGpuId to query device states.
authorGuangda Lai <laigd@google.com>
Sat, 10 Feb 2018 06:47:30 +0000 (22:47 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sat, 10 Feb 2018 06:51:28 +0000 (22:51 -0800)
commit7ace7f14caf81c9acbac2e3ba26a754cbe78ead5
treed83bead48aa3173b2ef142c638d2043a7efbd27d
parent2d7b1d4ca7140bdcdf5eda5db642357202337f98
Fix grappler to use CudaGpuId instead of TfGpuId to query device states.

PiperOrigin-RevId: 185233116
tensorflow/core/grappler/clusters/BUILD
tensorflow/core/grappler/clusters/single_machine.cc
tensorflow/core/grappler/clusters/utils.cc
tensorflow/core/grappler/clusters/utils.h
tensorflow/core/grappler/costs/BUILD
tensorflow/core/grappler/costs/utils.cc