diff options
Diffstat (limited to 'tensorflow/core/util/port.h')
-rw-r--r-- | tensorflow/core/util/port.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tensorflow/core/util/port.h b/tensorflow/core/util/port.h new file mode 100644 index 0000000000..8b9d033d63 --- /dev/null +++ b/tensorflow/core/util/port.h @@ -0,0 +1,11 @@ +#ifndef TENSORFLOW_UTIL_PORT_H_ +#define TENSORFLOW_UTIL_PORT_H_ + +namespace tensorflow { + +// Returns true if GOOGLE_CUDA is defined. +bool IsGoogleCudaEnabled(); + +} // end namespace tensorflow + +#endif // TENSORFLOW_UTIL_PORT_H_ |