aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib/stacktrace.h
blob: e7d478efe3d5d02bc7d51eba12b9e5cca113be7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TENSORFLOW_STREAM_EXECUTOR_LIB_STACKTRACE_H_
#define TENSORFLOW_STREAM_EXECUTOR_LIB_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

}  // namespace port
}  // namespace gputools
}  // namespace perftools

#endif  // TENSORFLOW_STREAM_EXECUTOR_LIB_STACKTRACE_H_