From f439016532a8b310bb4cc984eed1c331b4d3be8a Mon Sep 17 00:00:00 2001 From: Peter Hawkins Date: Thu, 9 Feb 2017 05:49:43 -0800 Subject: [PATCH] Fix double evaluation of macro argument that was causing duplicate CUDA batched GEMM calls. Change: 147025110 --- tensorflow/stream_executor/lib/status_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/stream_executor/lib/status_macros.h b/tensorflow/stream_executor/lib/status_macros.h index a14ba73af38..6a8a11f0837 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; \