diff --git a/paddle/utils/CpuId.h b/paddle/utils/CpuId.h index d16098b5f90f1987f72073c6e9a81f1e4f1b17a9..5fc610964d4f5b8064f16ebf1b26bbb002264ce1 100644 --- a/paddle/utils/CpuId.h +++ b/paddle/utils/CpuId.h @@ -113,7 +113,7 @@ inline Error __must_check checkCPUFeature() { } #else if (!HAS_AVX) { - err = Errors( + err = Error( "PaddlePaddle was compiled to use avx instructions, " "but these aren't available on your machine, please " "disable it via CMAKE .. -DWITH_AVX=OFF");