OpenMP is supported in GCC which is cross-platform... but does that mean OpenMP is supported on all target platforms? Specifically, iOS and Android**... as phones/tablets move to quad-core, not using all the cores in games will be a huge disadvantage.
** As a non mobile-developer I don't know if you can write C++ apps for Android in the first place?
This is not necessarily the case. Example: http://groups.google.com/group/android-ndk/browse_thread/thread/a547eac5446035b4?pli=1
OMP is not supported on all target GCC platforms. It's certainly not available for Gameboy Advance, e.g., even though GCC can target ARM/Thumb architectures.
On the iOS side, I'm not sure if OMP is supported or not, but Apple would probably strongly encourage the use of their Grand Central Dispatch library with focus on asynchronous task queuing (Apple really pushes that one with the ideal being that applications should never stall and show a loading icon which is quite different from just parallel loops to speed up sequential processing).
As a non mobile-developer I don't know if you can write C++ apps for Android in the first place?
Yes, C and C++ with the Android NDK are the two languages supported for building native Android applications, while iOS focuses on C, C++, and Objective-C.
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