Hi I am a graduate student trying to program with opencl.
Recently, I've bought new smartphone equipped with mali GPU. (Galaxy S6)
My original JNI source code is filled with C++ wrapper.
and... i tried to build and run my program on new devices
but it doesn't work,
IN mali opencl SDK, i dont have cl.hpp.
Do i need to convert all my code into c style code without wrapper? or is there another way ?
Hi @eclipse0922 ,
The opencl C++ wrapper you are talking about it just a generic C++ header file which isn't specific to any platform. To use it, just manually add it to your project as you would any other header based library.
You can download the OpenCL 1.1 C++ header from the Khronos registry here Khronos OpenCL Registry.
Hope this Helps,
Rich
Thanks for comment.
I 've misunderstood by now, i thought that i need to use library provided by qcom or arm.
If they made a tweak for library, other companies' library shouldn't be work.
but that was wrong.. thanks!!