Support different threading modes in GPU device.
authorXiaoqiang Zheng <zhengxq@google.com>
Mon, 11 Dec 2017 21:14:17 +0000 (13:14 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 11 Dec 2017 21:22:14 +0000 (13:22 -0800)
commitc381794b2fc3227bfee9cf085e26bafb33da8f4b
treed54809ed0b25831cf5b970a479a9ec25492d61a1
parent0afb4bbcbb757fa20d99d2a7d74f88622f93c9da
Support different threading modes in GPU device.
All modes are experimental for now. The goal is to find the best setting, and
change the default to pick that.

PiperOrigin-RevId: 178662212
tensorflow/core/common_runtime/direct_session.cc
tensorflow/core/common_runtime/direct_session.h
tensorflow/core/common_runtime/gpu/gpu_device.cc
tensorflow/core/common_runtime/gpu/gpu_device.h
tensorflow/core/framework/device_base.h