diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-09-12 12:07:08 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-09-12 13:16:20 -0700 |
commit | 4c4006c241d0fdb8305a0fcbe5cc1179dc2bd552 (patch) | |
tree | 9dd0094146bd53eb861fc661c4598bd1e0afb870 /tensorflow/stream_executor/lib | |
parent | b102ba4b758d69224a1ac99a7e93f0a0fa07f6b6 (diff) |
Add core/platform/stacktrace.h
Change: 132908705
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r-- | tensorflow/stream_executor/lib/stacktrace.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/stream_executor/lib/stacktrace.h b/tensorflow/stream_executor/lib/stacktrace.h index 17cc27c6e0..ba7e5317f0 100644 --- a/tensorflow/stream_executor/lib/stacktrace.h +++ b/tensorflow/stream_executor/lib/stacktrace.h @@ -16,15 +16,14 @@ limitations under the License. #ifndef TENSORFLOW_STREAM_EXECUTOR_LIB_STACKTRACE_H_ #define TENSORFLOW_STREAM_EXECUTOR_LIB_STACKTRACE_H_ +#include "tensorflow/core/platform/stacktrace.h" #include "tensorflow/stream_executor/platform/port.h" namespace perftools { namespace gputools { namespace port { -#if !defined(PLATFORM_GOOGLE) -inline string CurrentStackTrace() { return "No stack trace available"; } -#endif +using tensorflow::CurrentStackTrace; } // namespace port } // namespace gputools |