aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/debug_ops.h
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2017-02-23 10:40:21 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-23 11:20:09 -0800
commitd82e42ca3a0b06d768a439d84ff74741de7e092d (patch)
tree1b8a1109b6cc9949a6f3f0dc3de36cc79bce0923 /tensorflow/core/kernels/debug_ops.h
parent6518f3830097ec7837bbd3d69ce764904e981b33 (diff)
Fix tfdbg in windows cmake build
Change: 148361216
Diffstat (limited to 'tensorflow/core/kernels/debug_ops.h')
-rw-r--r--tensorflow/core/kernels/debug_ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/debug_ops.h b/tensorflow/core/kernels/debug_ops.h
index 2efa95c381..bfa163b292 100644
--- a/tensorflow/core/kernels/debug_ops.h
+++ b/tensorflow/core/kernels/debug_ops.h
@@ -16,7 +16,9 @@ limitations under the License.
#ifndef TENSORFLOW_KERNELS_DEBUG_OP_H_
#define TENSORFLOW_KERNELS_DEBUG_OP_H_
+#if GOOGLE_CUDA
#include "tensorflow/core/common_runtime/gpu/gpu_util.h"
+#endif
#include "tensorflow/core/debug/debug_io_utils.h"
#include "tensorflow/core/framework/device_base.h"
#include "tensorflow/core/framework/op_kernel.h"