hi,
second time that i am trying to post this message.
I bougth a Xiaomi MI10 PRO with spandragon 865 and adreno 650 on Android an i find out that running OPENCL was very slow. Even Slower than my old Hauwei Honor Play with kirin 970 and mali G72 MP12.
I aggre that for OpenGL and Vulkan, 865 is much faster. But for OpenCL is very slow.
So i am wandering is adreno as been designed or not for the use of OpenCL because Kernel execution is very slow.
So my question is why OpenCL is so slow with the Adreno 650.
It is because adreno 650 on mobile phonne as not been designed for the use of OpenCL or because some thing else.
I made some test with the 2 machine if you need more information.
regards herve terrolle (france).
Thanks for the answer. ;))
Dear Customer
Can you test if below setting can help?
Thanks
Bob Du
LOGE("clCreateContext failed with ErrorCode : %d", nErr); result = GPP_CL_FAILURE; goto CleanUp;
I am getting error with this code 1) error: 'result' undeclared 2) error: expected expression before '<' token 358 | 3) error: 'GPP_CL_FAILURE' undeclared How i solve GPP_CL_FAILURE error?Actually opencl/kernel performance is highly related with the various factors especially for local work size, you need to fine tune the local work size to get the best performance.
You also need to consider if there is too much register footprint in your kernel which may cause register spiling to global memory, then cause bad performance.
Thanks
Bob Du