From cf40daee58f06900676c8c94fcce9c8d5834b4e3 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Tue, 27 Nov 2018 15:18:12 +0100 Subject: [PATCH] - Building fix to softmax for inference --- paddle/fluid/operators/math/blas_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/math/blas_impl.h b/paddle/fluid/operators/math/blas_impl.h index ffdfc69b9ea..106d4551dd0 100644 --- a/paddle/fluid/operators/math/blas_impl.h +++ b/paddle/fluid/operators/math/blas_impl.h @@ -493,7 +493,7 @@ template T Blas::ASUM(int n, T *x, int inc) const { auto sum = static_cast(0.0); #ifdef PADDLE_WITH_MKLML - sum = Blas::ASUM(n, x, inc); + sum = CBlas::ASUM(n, x, inc); #else //TODO(jczaja): check if openblas does provide cblas_sasum/cblas_dasum for (int c = 0; c < n; ++c) { -- GitLab