aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-09-12 12:07:08 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-09-12 13:16:20 -0700
commit4c4006c241d0fdb8305a0fcbe5cc1179dc2bd552 (patch)
tree9dd0094146bd53eb861fc661c4598bd1e0afb870 /tensorflow/stream_executor/lib
parentb102ba4b758d69224a1ac99a7e93f0a0fa07f6b6 (diff)
Add core/platform/stacktrace.h
Change: 132908705
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r--tensorflow/stream_executor/lib/stacktrace.h5
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