From a94d4f51a8b8331741c96205e64557f01cf7fe23 Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Fri, 24 Aug 2018 16:40:09 +0800 Subject: [PATCH] fix math_function compile --- paddle/fluid/operators/math/math_function.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paddle/fluid/operators/math/math_function.h b/paddle/fluid/operators/math/math_function.h index 7ec78d9ef8..c63ad89e46 100644 --- a/paddle/fluid/operators/math/math_function.h +++ b/paddle/fluid/operators/math/math_function.h @@ -19,6 +19,10 @@ limitations under the License. */ #ifdef PADDLE_USE_OPENBLAS #include +// remove typedef in openblas +#undef FLOAT +#undef INT +#undef SIZE #endif #include -- GitLab