This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Doesn't mali support opencl 1.1 c++ wrapper?

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 ?

Parents
  • 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

Reply
  • 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

Children