diff --git a/paddle/fluid/operators/math/blas_impl.h b/paddle/fluid/operators/math/blas_impl.h index ffdfc69b9ea98788923ba25aea372f852e479a4f..106d4551dd0f615955bc9c9262c49a80ab6203e8 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) {