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

code: 0xA007 msg: OpenCL malloc memory failed #1983

Open
LitchiCheng opened this issue Mar 28, 2024 · 3 comments
Open

code: 0xA007 msg: OpenCL malloc memory failed #1983

LitchiCheng opened this issue Mar 28, 2024 · 3 comments

Comments

@LitchiCheng
Copy link

1. 环境(environment)

  • Build OS and Version: Ubuntu
  • RunTime OS Version: Linux
  • RunTime DEVICE: OPENCL

2. Github版本

  • branch:master
  • commit(optional): 1c27f20

3. 编译方式(compile method)
scripts/build_aarch64_linux.sh

SHARED_LIB="ON"
ARM="ON"
OPENMP="ON"
OPENCL="ON"
RKNPU="OFF"

4. 编译日志(build log)

[ 99%] Linking CXX shared library libTNN.so
[ 99%] Built target TNN
Scanning dependencies of target TNNTest
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/timer.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/flags.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/test_utils.cc.o
[100%] Building CXX object test/CMakeFiles/TNNTest.dir/test.cc.o
[100%] Linking CXX executable TNNTest
[100%] Built target TNNTest

5. 详细描述bug 情况 (Describe the bug)
官网的yolov8s-seg.onnx转换tnn模型,然后使用build_aarch64_linux/test的TNNTest
sudo ./TNNTest -mt TNN -dt OPENCL -mp yolov8s-seg.opt.tnnproto -wc 1 -sc s0 -ic 1 -pr HIGH -ip . -op .
报错

6. 运行日志(runtime log)
logfail.txt

7. 截图(Screenshots)
图片

@LitchiCheng
Copy link
Author

LitchiCheng commented Mar 28, 2024

soc imx8qm

Device Name                                     Vivante OpenCL Device GC7000XSVX.6009.0000
  Device Vendor                                   Vivante Corporation
  Device Vendor ID                                0x564956
  Device Version                                  OpenCL 1.2
  Driver Version                                  OpenCL 1.2 V6.4.3.p1.305572
  Device OpenCL C Version                         OpenCL C 1.2

@LitchiCheng
Copy link
Author

TNN没人维护了吗?

@md5xwl
Copy link

md5xwl commented Apr 3, 2024

Try checking out the 0.4 branch, I see there are still commits

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