Giter Club home page Giter Club logo

matrixcomputation's Introduction

MatrixComputation

The project performs a benchmark test for matrices computation in Java, C++, Eigen, OpenCV, RenderScript on Android platform

The purpose of this application is not to compare the performance of algorithms performing matrix multiplication. All computations are implemented in naive way

======

CONTENT

  1. [Application Manifest] (#1)
  2. [Java] (#2)
  3. [C++] (#3)
  4. [OpenCV] (#4)
  5. [Eigen] (#5)
  6. [RenderScript] (#6)
  7. [Contacts] (#7)

======

APPLICATION MANIFEST

  • Target SDK Version: 19
  • Minimum SDK Version: 16
  • Uses Permission
    • android.permission.READ_EXTERNAL_STORAGE
    • android.permission.WRITE_EXTERNAL_STORAGE
    • android.permission.READ_LOGS

Java

This is the simplest way to perform matrices computation on Android devices. Yet, the performance is the worst among all approaches demonstrated in this application.

C++

This approach is faster than Java. Note that Java Native Interface is needed in order to run native code in Android applications.

OpenCV

OpenCV is common library for mathematic computations. Details and tutorial about [OpenCV on Android] (http://opencv.org/platforms/android.html) can be found [here] (http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html). NOTE OpenCV is not available in release 1.2

Eigen

[Eigen] (http://eigen.tuxfamily.org/index.php?title=Main_Page) is another choice for computation. Eigen usually outperform OpenCV on Android devices.

RenderScript

[RenderScript] (http://developer.android.com/guide/topics/renderscript/compute.html) is a framework for running computationally intensive tasks at high performance on Android, usually used for image processing on Android devices. It accelerates the computation by running on GPUs. Please note that RenderScript is device-dependent. Version problem limits the compatibility of RenderScript.

======

Contacts

Ching-Lun Lin, [email protected], 2014

matrixcomputation's People

Contributors

cllin avatar bryant1410 avatar

Stargazers

syco avatar _mightyMax147 avatar Jiayi Meng avatar cppgohan avatar  avatar  avatar Matthieu Garrigues avatar  avatar  avatar Jason Gao avatar  avatar  avatar

Watchers

syco avatar James Cloos avatar  avatar 3pointer avatar  avatar

matrixcomputation's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.