aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib
diff options
context:
space:
mode:
authorGravatar Peter Hawkins <phawkins@google.com>2017-02-09 05:49:43 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-09 06:19:36 -0800
commitf439016532a8b310bb4cc984eed1c331b4d3be8a (patch)
tree62f2f4c6f3f49665fa338ce3a65c1952bc347212 /tensorflow/stream_executor/lib
parent5a08f2496b3e2211c0e977f38b216cab314ca72d (diff)
Fix double evaluation of macro argument that was causing duplicate CUDA batched GEMM calls.
Change: 147025110
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r--tensorflow/stream_executor/lib/status_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/lib/status_macros.h b/tensorflow/stream_executor/lib/status_macros.h
index a14ba73af3..6a8a11f083 100644
--- a/tensorflow/stream_executor/lib/status_macros.h
+++ b/tensorflow/stream_executor/lib/status_macros.h
@@ -59,7 +59,7 @@ limitations under the License.
#define SE_RETURN_STATUS_AS_BOOL(__status) \
do { \
auto status = __status; \
- if (__status.ok()) { \
+ if (status.ok()) { \
return true; \
} \
LOG(ERROR) << status; \