diff options
author | A. Unique TensorFlower <nobody@tensorflow.org> | 2016-01-05 14:05:27 -0800 |
---|---|---|
committer | Vijay Vasudevan <vrv@google.com> | 2016-01-05 14:05:27 -0800 |
commit | 1c579361cd1e088dd5e05a394b1561a73e3667ba (patch) | |
tree | ec464b9ac18113dc052744b6714eebbc7c6cc34d /tensorflow/core/platform/posix/env.cc | |
parent | 208350a6092f9faa473daf8b6eb6a80e9f9518f1 (diff) |
Added 'logging' import to control_flow_ops which is used in the file but not imported.
Change: 110842260
Diffstat (limited to 'tensorflow/core/platform/posix/env.cc')
-rw-r--r-- | tensorflow/core/platform/posix/env.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/core/platform/posix/env.cc b/tensorflow/core/platform/posix/env.cc index 2c8daf98a5..164d11a81f 100644 --- a/tensorflow/core/platform/posix/env.cc +++ b/tensorflow/core/platform/posix/env.cc @@ -26,6 +26,7 @@ limitations under the License. #include <thread> #include "tensorflow/core/lib/core/error_codes.pb.h" +#include "tensorflow/core/platform/load_library.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/public/env.h" @@ -397,9 +398,20 @@ class PosixEnv : public Env { // TODO(mrry): Replace with a non-blocking timer mechanism and threadpool. CHECK(false) << "PosixEnv::SchedClosureAfter not implemented."; } + + Status LoadLibrary(const char* library_filename, void** handle) override { + return tensorflow::internal::LoadLibrary(library_filename, handle); + } + + Status GetSymbolFromLibrary(void* handle, const char* symbol_name, + void** symbol) override { + return tensorflow::internal::GetSymbolFromLibrary(handle, symbol_name, + symbol); + } }; } // namespace + #if defined(PLATFORM_POSIX) || defined(__ANDROID__) Env* Env::Default() { static Env* default_env = new PosixEnv; |