aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/use_cudnn.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/use_cudnn.h')
-rw-r--r--tensorflow/core/util/use_cudnn.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/core/util/use_cudnn.h b/tensorflow/core/util/use_cudnn.h
new file mode 100644
index 0000000000..20ce24c513
--- /dev/null
+++ b/tensorflow/core/util/use_cudnn.h
@@ -0,0 +1,12 @@
+// The utility to check whether we have Cudnn depenedency.
+
+#ifndef TENSORFLOW_UTIL_USE_CUDNN_H_
+#define TENSORFLOW_UTIL_USE_CUDNN_H_
+
+namespace tensorflow {
+
+bool CanUseCudnn();
+
+} // namespace tensorflow
+
+#endif // TENSORFLOW_UTIL_USE_CUDNN_H_