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

Create Android activity file for Mali OpenCL Samples

Hello

I am having the Mali Opencl SDK v1.1.0

I want to run those samples in Android.

I am having OpenCL libraries so that s not an issue.

But i want to generate the activity files and native files for the corresponding cpp files.

Plse help me out.

Thks

Parents
  • To clarify,

    The Mali OpenCL SDK currently only supports Linux. It will not run on Android out of the box.

    For your later questions about running your sources on the device, you have to cross compile the sources on your host to run on the target. This is what the Android NDK does.

    I hope that helps.

    Kind Regards,

    Michael McGeagh

Reply
  • To clarify,

    The Mali OpenCL SDK currently only supports Linux. It will not run on Android out of the box.

    For your later questions about running your sources on the device, you have to cross compile the sources on your host to run on the target. This is what the Android NDK does.

    I hope that helps.

    Kind Regards,

    Michael McGeagh

Children
  • Thanks Michael.

    Can u plse see if the following will help.

    ndk-build NDK_APP_APPLICATION_MK=<file> --> rebuild, using a specific Application.mk pointed to by the NDK_APP_APPLICATION_MK command-line variable.

    -------------------

    Application.mk:

    APP_ABI := armeabi-v7a

    APP_PLATFORM := android-19

    APP_STL := gnustl_static

    APP_CPPFLAGS += -fexceptions -frtti.

    ------------------

    Will this work?

    Alternatively,I boot Odroid-xu3 in Ubuntu and then install Mali SDK and compile the cpp sources. Will it run?