GCC版本为4.8.5
系统版本为centos 7.3
执行x86_build.sh后显示如下错误:
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h: In member function ‘virtual anakin::saber::SaberStatus anakin::saber::SaberLstm<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, inDtype, outDtype, LayOutType_op, LayOutType_in, LayOutType_out>::init(const std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, inDtype, LayOutType_in>>&, std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, outDtype, LayOutType_out>>&, anakin::saber::LstmParam<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, LayOutType_op> >&, anakin::saber::Context<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4> >&)’:
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h:26:24: error: ‘__m256’ was not declared in this scope
define SABER_X86_TYPE __m256
^
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h:78:34: note: in expansion of macro ‘SABER_X86_TYPE’
int aligned_byte= sizeof(SABER_X86_TYPE);
^~~~~~
In file included from /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.cpp:2:0:
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.h: In member function ‘virtual anakin::saber::SaberStatus anakin::saber::SaberGru<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, inDtype, outDtype, LayOutType_op, LayOutType_in, LayOutType_out>::init(const std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, inDtype, LayOutType_in>>&, std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, outDtype, LayOutType_out>>&, anakin::saber::GruParam<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, LayOutType_op> >&, anakin::saber::Context<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4> >&)’:
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.h:10:24: error: ‘__m256’ was not declared in this scope
GCC版本为4.8.5 系统版本为centos 7.3 执行x86_build.sh后显示如下错误: /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h: In member function ‘virtual anakin::saber::SaberStatus anakin::saber::SaberLstm<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, inDtype, outDtype, LayOutType_op, LayOutType_in, LayOutType_out>::init(const std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, inDtype, LayOutType_in>>&, std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, outDtype, LayOutType_out>>&, anakin::saber::LstmParam<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, LayOutType_op> >&, anakin::saber::Context<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4> >&)’: /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h:26:24: error: ‘__m256’ was not declared in this scope
define SABER_X86_TYPE __m256
/home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_lstm.h:78:34: note: in expansion of macro ‘SABER_X86_TYPE’ int aligned_byte= sizeof(SABER_X86_TYPE); ^
~~~~~ In file included from /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.cpp:2:0: /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.h: In member function ‘virtual anakin::saber::SaberStatus anakin::saber::SaberGru<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, inDtype, outDtype, LayOutType_op, LayOutType_in, LayOutType_out>::init(const std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, inDtype, LayOutType_in>>&, std::vector<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, outDtype, LayOutType_out>>&, anakin::saber::GruParam<anakin::saber::Tensor<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4>, OpDtype, LayOutType_op> >&, anakin::saber::Context<anakin::saber::TargetType<(anakin::saber::TargetTypeEnum)4> >&)’: /home/dev/thirdparty/Anakin/saber/funcs/impl/x86/saber_gru.h:10:24: error: ‘__m256’ was not declared in this scope