Hello
I have the Mali OpenCL SDK and I want to run the samples in Odroid-XU3 ( Ubuntu 14.04) with Mali T-628 GPU.
Can anyone please explain how to perform the cross-compiling?
Thanks
aravind, you can use any cross compiler of choice, you do not explicitly have to use Sourcery CodeBench Lite for ARM EABI.
Alternatively, as ackmicro has mentioned, you can look at building the SDK natively on your XU3.
I do not believe the SDK supports this out of the box, so some modification may be necessary... I have not tried myself so cannot say for certain.
Hope it helps,
Michael McGeagh
Thanks Michael
But ur above reply is antithetical to what u gave earlier. Does Mali SDK provide support to run out of box ?
If no can i use android ndk to do cross-compilation ?
Thks
To clarify...
The Mali OpenCL SDK supports - out of the box - ARM Linux only, and not Android.
This thread is explicitly asking about Ubuntu 14.04 support, which is Linux, which the SDK does support.
I think you have this thread and your other thread (asking about Android) mixed up.
You would not want to use Android NDK in order to make binaries to run under Ubuntu Linux on your ARM device.
Android binaries are not compatible with Linux and vice versa
So I could just use linaro toolchain instead of Code Bench and follow the documentation to run the sample cpp files ? chrisvarns
That is correct yes, linaro toolchains are to be advised for ARM Linux platforms.