Comments (3)
Possible solution: build tengine driver without -Werror option.
It seems that those build error are due to -Werror (warning error) option in tengine driver Makefile.
Therefore I rebuild tengine without -Werror option, and build was successful.
driver-$(CONFIG_CAFFE_REF)+=caffe/
driver-$(CONFIG_ACL_GPU)+=acl_graph/
driver-$(CONFIG_ACL_GPU)+=acl/
obj-y+=cpu/ plugin/ $(driver-y)
INC_DIR+=-I$(shell pwd)/include
INC_DIR+=-I$(shell pwd)/../include
INC_DIR+=-I$(shell pwd)/../core/include
INC_DIR+=-I$(shell pwd)/../operator/include
INC_DIR+=-I$(shell pwd)/../executor/include
CXXFLAGS+=
COMMON_CFLAGS+=$(CONFIG_OPT_CFLAGS)
#COMMON_CFLAGS+= -Wall -g -fPIC $(INC_DIR) -Werror
COMMON_CFLAGS+= -Wall -g -fPIC $(INC_DIR)
ifeq ($(CONFIG_CAFFE_REF),y)
COMMON_CFLAGS+= -DCONFIG_CAFFE_REF=1
endif
ifeq ($(CONFIG_ARCH_ARM64),y)
COMMON_CFLAGS+= -DCONFIG_ARCH_ARM64=1
endif
ifeq ($(CONFIG_ACL_GPU),y)
COMMON_CFLAGS+= -DCONFIG_ACL_GPU=1
endif
ifeq ($(CONFIG_ARCH_ARM32),y)
COMMON_CFLAGS+= -DCONFIG_ARCH_ARM32=1
endif
install:
but got cl::Error in runtime
$ ./build/tests/bin/bench_sqz -d acl_opencl
Output
pi@raspberrypi:~/Desktop/project/tengine $ ./build/tests/bin/bench_sqz -d acl_opencl
terminate called after throwing an instance of 'cl::Error'
what(): empty
Aborted
from tengine.
Just a double check, do you use the Arm Compute library v18.05?
Thanks,
Haitao
from tengine.
Yes I used v18.05 version. And I used openblas library.
It will be nice, if you can check in Pi3 device.
Btw, is there any plan to support neon instructions from ACL library. I think currently it only supports opencl from ACL.
Thanks,
Deepak
from tengine.
Related Issues (20)
- EAIS 750E,哪里可以买到这个设备呢? HOT 1
- 求一个手部检测例程 HOT 2
- 求助个巨坑的问题
- yolov5 (no focus) int8 quant后,在嵌入式平台上跑到run_graph函数就挂了 HOT 7
- tengine+nvdla部署asic
- 请问现在Tengine支持rk3588吗 HOT 1
- 在运行timvx的yolov5s时,报错
- prelu在arm平台中不支持size = 1 的sclope
- 请问如何支持动态shape推理呢?
- 各位大佬,Tengine1.5-dev版本,使用官方提供的yolov5s.tmfile模型,在计算图预先运行时报错
- Tengine的convert脚本对ONNX文件进行转换时有很多底层算子不支持,onnx模型是通过.pth文件得到的,和设置的op_set版本号有关系吗?
- if support the iOS platform?
- 使用convert_tool将onnx模型转换为tmfile后发现一些层的输出不对
- 使用make编译convert_tool时遇到找不到头文件的问题
- 模型转换工具编译失败
- 数组越界访问
- 使用quant_tool_uint8 出现段错误Segmentation fault
- compile with rv64imafdc HOT 1
- 如何实现cpu range算子 HOT 1
- 设置 TG_DEBUG_DATA 会影响网络输出
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tengine.