Don't spin in a loop when we're not waiting on any GPU events.
authorJustin Lebar <jlebar@google.com>
Tue, 20 Mar 2018 10:48:38 +0000 (03:48 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 20 Mar 2018 10:53:07 +0000 (03:53 -0700)
commit9183c33884c4492589f2d8648178d00645c30691
tree667da260c0ea519a2c765844f8eec5f8fcd04089
parent163bb675579bbc3a115c0caac9b42891f629bfd4
Don't spin in a loop when we're not waiting on any GPU events.

PiperOrigin-RevId: 189719711
tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc
tensorflow/core/common_runtime/gpu/gpu_event_mgr.h
tensorflow/core/protobuf/config.proto