diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-07-23 13:16:37 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-23 13:20:03 -0700 |
commit | 31c3d55ec5b509142df00268611438ff52f3794a (patch) | |
tree | 0fa3a2c3304755a457dfd545a7578e129a75ae0d /tensorflow/core/protobuf | |
parent | 0720cced3baa17a5930f5d965cfd9b693954bc04 (diff) |
Internal change
PiperOrigin-RevId: 205712557
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r-- | tensorflow/core/protobuf/config.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/config.proto b/tensorflow/core/protobuf/config.proto index 22a2691dcc..d701ce8e12 100644 --- a/tensorflow/core/protobuf/config.proto +++ b/tensorflow/core/protobuf/config.proto @@ -416,6 +416,11 @@ message RunOptions { int64 timeout_in_ms = 2; // The thread pool to use, if session_inter_op_thread_pool is configured. + // To use the caller thread set this to -1 - this uses the caller thread + // to execute Session::Run() and thus avoids a context switch. Using the + // caller thread to execute Session::Run() should be done ONLY for simple + // graphs, where the overhead of an additional context switch is + // comparable with the overhead of Session::Run(). int32 inter_op_thread_pool = 3; // Whether the partition graph(s) executed by the executor(s) should be |