From 9255d6d20f995705b5e2e407a50f7c9231429263 Mon Sep 17 00:00:00 2001 From: eric-haibin-lin Date: Wed, 21 Jun 2017 20:09:36 +0000 Subject: [PATCH] revert LOG(DEBUG) change --- src/executor/attach_op_execs_pass.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/executor/attach_op_execs_pass.cc b/src/executor/attach_op_execs_pass.cc index 981fab2a4686..0d718df41c9e 100644 --- a/src/executor/attach_op_execs_pass.cc +++ b/src/executor/attach_op_execs_pass.cc @@ -45,8 +45,8 @@ class ForwardOpExecutor : public OpExecutor { GetDefaultBlobs(out_array, &out_data_, &temp_out_, op_ctx); op_->Forward(op_ctx, in_data_, req, out_data_, aux_data_); CastNonDefaultStorage(out_array, temp_out_, op_ctx); -#elif NDEBUG == 0 - LOG(DEBUG) << MXNET_GPU_NOT_ENABLED_ERROR; +#else + LOG(FATAL) << MXNET_GPU_NOT_ENABLED_ERROR; #endif } else { GetDefaultBlobs(in_array_, &in_data_, &temp_in_, op_ctx);