Fast way to perform addition of 2 LARGE float arrays in Android. Optional JNI or Opengl ES

Posted by nathan on Stack Overflow See other posts from Stack Overflow or by nathan
Published on 2010-04-04T05:04:05Z Indexed on 2010/04/04 5:13 UTC
Read the original article Hit count: 224

Filed under:
|
|
|

I simply need to add floatArray1 to floatArray2 storing the result in floatArray2.. no third array.. all arrays are one dimensional but are very large... probibly as large as the os will let me get away with. Max i would need is two float arrays with 40,000 floats each... but i could get away with 1/10th that i suppose minimum.

Would love to do this in 1/30th or 1/60th of a second but that does not seem possible? Also if the code is JNI,NDK or OpenGL ES thats fine.. does android have an assembly language or like machine code i could use somehow?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-ndk