Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

centos 7.3执行x86_build.sh报错 #510

Open
jiansongjay opened this issue Jan 29, 2019 · 1 comment
Open

centos 7.3执行x86_build.sh报错 #510

jiansongjay opened this issue Jan 29, 2019 · 1 comment

Comments

@jiansongjay
Copy link

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

@2015-10-10
Copy link

建议您先使用cmake编译查看日志是否正确,然后再使用make,我们更新了docs,很快提交github,包括编译示例和集成anakin demo,敬请期待!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants