-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot run MNN with OpenCL backend #105
Comments
Two way to solve:
|
使用 方法 2 不能解决问题呢? 我也遇到了同样的问题,平台是RK3399 |
目前可以通过在程序里面添加这个解决该问题。 auto handle = dlopen("libMNN_CL.so", RTLD_NOW); |
@liushuan 你好,请问能详细讲下你的解决方法吗?这段代码需要添加到哪里?(我在benchmark.cpp中添加后编译不过)
|
@PhilipXue 你好,我是直接添加到了main() 方法的开始位置。 |
@jxt1234 reopened since I still have issues.
MNN_USE_OPENCL_WRAPPER is enabled on android build. I built MNN on linux.
Applied, But did not make any change. AFAIK, To enable opencl backend, the function below should be executed :
When I run MNN with gdb, I found that the function not called. |
Currently on linux the code will not be automatic executed. Please dlopen the libMNN_CL.so in your main code, and link -dl , like this: /Run MNN/ |
@jxt1234 Thanks for help |
solved! |
我在用.tflite生成.mnn时报错,check failed:creator not_supported_op[MUL] |
devices : odroid-xu4
os : ubuntu mate 16.04
I try to run mobilenet model using MNN with OpenCL backend.
I have compiled MNN with the following cmake setting on odroid natively.
But running with OpenCL backend always fail.
Please help.
The text was updated successfully, but these errors were encountered: