Is it possible to use OpenMP library with Android NDK?
Maybe somebody already tried to compile them together and can provide some hints?
With appearance of dual-core tablets/smartphones I think it would be really nice to use OpenMP capabilities in apps development.
Thank you in advance.
For people coming across this question now: OpenMP is supported in the NDK with GCC as of October 2013 (NDK version 9b). See: https://developer.android.com/ndk/downloads/revision_history.html
where they explain to add:
LOCAL_CFLAGS += -fopenmp
LOCAL_LDFLAGS += -fopenmp
to your Android.mk in order to enable OpenMP support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With