aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/platform/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/platform/mutex.h')
-rw-r--r--tensorflow/stream_executor/platform/mutex.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/platform/mutex.h b/tensorflow/stream_executor/platform/mutex.h
new file mode 100644
index 0000000000..21b1894737
--- /dev/null
+++ b/tensorflow/stream_executor/platform/mutex.h
@@ -0,0 +1,12 @@
+#ifndef TENSORFLOW_STREAM_EXECUTOR_PLATFORM_MUTEX_H_
+#define TENSORFLOW_STREAM_EXECUTOR_PLATFORM_MUTEX_H_
+
+#include "tensorflow/core/platform/port.h"
+
+#if defined(PLATFORM_GOOGLE)
+#include "tensorflow/stream_executor/platform/google/mutex.h"
+#else
+#include "tensorflow/stream_executor/platform/default/mutex.h"
+#endif
+
+#endif // TENSORFLOW_STREAM_EXECUTOR_PLATFORM_MUTEX_H_