Hi, I want to use opencl ml extension sdk to test mobilenet performance on snapdragon 865(adreno 650).
But I met some errors with interface 'clQueryMLInterfaceVersionsQCOM'.
Error Code is -30 (CL_INVALID_VALUE).
enviroment:
0) test case: clml/examples/mobilenet
I also tested two versions: 2019-12version, 2020-06version. both failed.
1)platform: 865 (8250)
2)ndk version: 20
3)python version: 3.5
4)compile commands: python3.5 build_sample.py android ~/android-ndk-r20/ libOpenCL.so -c Debug -p 32
And I checked the libOpenCL.so. It did have 'clQueryMLInterfaceVersionsQCOM' interface in the library. (use dlsym to load interfaces, dlsym no errors). Sorry, I don't know how to upload images.
I aslo checked the called interfaces return value. The interfaces as followed returned CL_SUCCESS:
anyone can help
I got another error, calling of clQueryMLInterfaceVersionsQCOM return -6(CL_OUT_OF_HOST_MEMORY)
865 platform commerial device is too old, which need special GFX adreno sba libs from Qualcomm to support clml extension.
Recommend you to use most recent 888 platform or newer 8Gen1 commerial device to test.
Thanks
Bob Du