-
Notifications
You must be signed in to change notification settings - Fork 131
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
Support for OpenCL? #265
Comments
Well, first of all, this is not a problem for this lib🤨. Secondly, I have tried calling the GPU(ARM mali g610) of this chip using OpenCL, which is feasible. The specific implementation can be seen in the following linkhttps://blog.csdn.net/zichuanning520/article/details/129411886 |
Thanks for your reply! I have another question. If the RKNN model needs the results processed by an OpenCL kernel, how can I avoid data copying? |
It should be possible to avoid this copy operation, but it seems that only by using the OpenCL clCreateBuffer function with the CL_MEM_ALLOC_HOST_PTR flag can we allocate memory that can be used simultaneously by both OpenCL and RKNN. |
Thanks! I'll give it a shot. |
Hi, does the RK3588 support running OpenCL code? If so, in what way does it run, and is the device the GPU?
The text was updated successfully, but these errors were encountered: