diff options
author | Rohan Jain <rohanj@google.com> | 2018-02-13 17:26:18 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-02-13 17:30:18 -0800 |
commit | d0f4faeb2de8843d6996cba96c70af29feba3876 (patch) | |
tree | 782c893972da0499e6112f6bf9d03fc04538a9bc /tensorflow/core/common_runtime/process_function_library_runtime.cc | |
parent | 3d803b9421401c5118ec29d82dbeb1808d25f3b3 (diff) |
Don't release kInvalidHandle.
Also added a little more debug information.
PiperOrigin-RevId: 185615169
Diffstat (limited to 'tensorflow/core/common_runtime/process_function_library_runtime.cc')
-rw-r--r-- | tensorflow/core/common_runtime/process_function_library_runtime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/common_runtime/process_function_library_runtime.cc b/tensorflow/core/common_runtime/process_function_library_runtime.cc index f9d9633bee..e205e34aa0 100644 --- a/tensorflow/core/common_runtime/process_function_library_runtime.cc +++ b/tensorflow/core/common_runtime/process_function_library_runtime.cc @@ -246,7 +246,7 @@ Status ProcessFunctionLibraryRuntime::ReleaseHandle( string target_device; { mutex_lock l(mu_); - CHECK_EQ(1, function_data_.count(handle)); + CHECK_EQ(1, function_data_.count(handle)) << " handle: " << handle; target_device = function_data_[handle].target_device; } flr = GetFLR(target_device); |