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

编译之后报错opencl #2

Open
eaoibng opened this issue Jul 22, 2019 · 3 comments
Open

编译之后报错opencl #2

eaoibng opened this issue Jul 22, 2019 · 3 comments

Comments

@eaoibng
Copy link

eaoibng commented Jul 22, 2019

您好,
非常感谢这个项目。最近在尝试将其部署在R_Car H3上。
编译好之后,运行demo之后显示

This is a error for OpenCL -13 in 225 in /home/root/chy/HyperTea/src/hypertea/tensor.cpp
0: ./hypertea_demo.bin(_ZN8hypertea9TensorGPUIfE8sub_viewEjjm+0x10c) [0x41d2d4]
1: ./hypertea_demo.bin(_ZN8hypertea7new_netINS_9TensorGPUIfEEEC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x7f0) [0x418470]
2: ./hypertea_demo.bin(main+0x384) [0x40fb04]
3: /lib/libc.so.6(__libc_start_main+0xe4) [0xffff7e0068c4]

请问这个是什么问题?是属于有配置上的错误吗?

@jizhuoran
Copy link
Owner

你好,
这是因为有些GPU只支持aligned memory (aligned to 4096). 能提供GPU的具体型号吗?

@eaoibng
Copy link
Author

eaoibng commented Jul 22, 2019

你好,
这是因为有些GPU只支持aligned memory (aligned to 4096). 能提供GPU的具体型号吗?

好的,GPU型号是 IMG PowerVR Series6XT GX6650

@jizhuoran
Copy link
Owner

那应该就是GPU不支持,你可以自己把createSubBuffer改成createclBuffer并进行一次拷贝。我下个月才有时间更新这个repo

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