diff --git a/lite/core/device_info.cc b/lite/core/device_info.cc index 3b347eb8fc519f8b4f5dd270a39461a1bdf1a784..3285ef8668c878a1eefad0754dd32dc0a52f45ae 100644 --- a/lite/core/device_info.cc +++ b/lite/core/device_info.cc @@ -58,7 +58,7 @@ namespace paddle { namespace lite { -#if ((defined LITE_WITH_ARM_) || (defined LITE_WITH_MLU)) +#if ((defined LITE_WITH_ARM) || (defined LITE_WITH_MLU)) thread_local lite_api::PowerMode DeviceInfo::mode_; thread_local ARMArch DeviceInfo::arch_; thread_local int DeviceInfo::mem_size_;