Giter Site home page Giter Site logo

delarge111 / mastersthesis-mobile-gpgpu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from internaut/mastersthesis-mobile-gpgpu

0.0 1.0 0.0 28.34 MB

Prototypes for GPGPU on Android, using OpenCL, OpenGL ES 2.0 shaders, or RenderScript.

License: BSD 2-Clause "Simplified" License

C 45.05% Makefile 0.70% C++ 35.48% Java 16.15% GLSL 2.10% RenderScript 0.52%

mastersthesis-mobile-gpgpu's Introduction

Android GPGPU Testing Prototypes

Update January 2015: Please note, that I have released a library for OpenGL ES 2.0 based GPGPU for Android and iOS systems -- ogles_gpgpu.

This repository contains some of the prototypes that I developed during my master's thesis -- "Parallel Computing for Digital Signal Processing on Mobile Device GPUs." More information about my thesis and the PDF is available on my website.

These prototypes test different algorithms (e.g. image convolution, Hough transform) with different GPGPU technologies and give report about the execution time of individual processing steps. The following technologies are assessed:

  • OpenCL (projects are prefixed with "Cl")
  • OpenGL ES 2.0 shaders (projects are prefixed with "Gl")
  • Android RenderScript (projects are prefixed with "Rs")

For details and results, please refer to the project page on my website.

Unfortunately, the code is not very well documented because of the general time pressure during writing a master's thesis. Nevertheless, I hope that this helps people who want to get started with GPGPU on mobile devices.

The code has been tested with a Nexus 10 running Android 4.2.1. Please note that OpenCL support is not available on most devices (see p. 20 of my master's thesis) and requires manual setup (see this post and that post).

Available Prototypes

  • ClAudio -- OpenCL-driven simple real-time sound synthesis
  • ClImageProc -- OpenCL-driven image convolution and Hough transform with kernel generator
  • CvMarkerDetect -- Marker based augmented reality prototype based on OpenCV and partly accelerated on the GPU via OpenGL ES 2.0 shaders
  • GlImageProc -- OpenGL ES 2.0 shader driven image convolution with kernel generator (uses Java API)
  • GlImageProcNative -- OpenGL ES 2.0 shader driven image convolution, thresholding and Parallel Coordinate space based Hough transform (uses NDK API)
  • RsImageProc -- Android RenderScript driven image convolution (limited functionality, crashes)

LICENSE

Licensed under BSD 2-Clause license. See the file LICENSE.

mastersthesis-mobile-gpgpu's People

Contributors

internaut avatar

Watchers

 avatar

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.