Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build all plugin fails #13

Closed
maxfy1992 opened this issue Dec 23, 2020 · 4 comments
Closed

build all plugin fails #13

maxfy1992 opened this issue Dec 23, 2020 · 4 comments

Comments

@maxfy1992
Copy link

/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s: Assembler messages:
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:808: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:823: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:854: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1168: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1170: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1387: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1397: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1420: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1459: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1608: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1622: Error: unknown vector operation: ` {z}'
/workspace/AutoKernel/autokernel_plugin/src/depthwise/halide_depthwise.s:1652: Error: unknown vector operation: ` {z}'
@maxfy1992 maxfy1992 changed the title build add plugin fails build all plugin fails Dec 23, 2020
@QingChuanWS
Copy link
Contributor

Could you provide some more specific information? Such as system version, virtual environment version, compilation param, etc.

@maxfy1992
Copy link
Author

try to modify target from assembly to cpp, build libautokernel.so success, but run sample still failed

root@963752f5b6b9:/workspace/AutoKernel/autokernel_plugin# ./build/tests/tm_classification
start to run register cpu allocator
/workspace/AutoKernel/autokernel_plugin/build/tests/tm_classification
Model name and tm file not specified, run squeezenet by default.
/workspace/AutoKernel/autokernel_plugin/build/tests/tm_classification
/workspace/AutoKernel/autokernel_plugin/build/tests/tm_classification
Image file not specified, use images/cat.jpg by default.
AutoKernel plugin inited
function:autokernel_plugin_init executed
tengine library version: 1.0-dev
Number Thread  : [1]

Number Cluster : [3]

./build/tests/tm_classification: symbol lookup error: ./build/src/libautokernel.so: undefined symbol: halide_malloc

@maxfy1992
Copy link
Author

do all steps by doc/tutorials/, 01 02 03 success 04 build all plugins fail. Platform linux x86 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux. docker image pull from openailab/autokernel

openailab/autokernel                                                                                                                   latest                        0e198de3

@maxfy1992
Copy link
Author

test success set cmake complier to clang

export CC=/usr/lib/llvm-10/bin/clang
export CXX=/usr/lib/llvm-10/bin/clang++

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

No branches or pull requests

2 participants