blob: d7fad4e233355acb651b26f469b93a0843ff29e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_
#define TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_
#include "tensorflow/stream_executor/lib/status.h"
namespace tensorflow {
namespace gpu = ::perftools::gputools;
// On the open-source platform, stream_executor currently uses
// tensorflow::Status
inline Status FromStreamExecutorStatus(
const perftools::gputools::port::Status& s) {
return s;
}
} // namespace tensorflow
#endif // TENSORFLOW_PLATFORM_DEFAULT_STREAM_EXECUTOR_UTIL_H_
|