Giter Site home page Giter Site logo

stefan20162016 / parallelprogrammingbook_code Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 33 KB

improved convert_images code for JGU-HPC/parallelprogrammingbook chapter7/eigenfaces/data

Python 10.60% C++ 59.62% Cuda 12.08% C 6.51% Jupyter Notebook 11.20%

parallelprogrammingbook_code's Introduction

convert_images

fastest python script is multiprocessing and turbojpg 8 sec vs 3:30min for singleprocess-original

fastest C++ program is using OpenMP and Turbojpeg; NVJPEG not that fast, probably because of the small image sizes and some CPU work and/or huffman decoding still could be usefull if you use the decoded images afterwards on the GPU (see nvidia's dali, with lot's of image modification options, DALI also uses turbojpeg; NVJPEG lib just decodes)

(https://www.amazon.de/Parallel-Programming-Dr-Bertil-Schmidt/dp/0128498900/ref=sr_1_1?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&keywords=parallel+programming+concepts&qid=1566568475&s=gateway&sr=8-1#customerReviews)

parallelprogrammingbook_code's People

Contributors

stefan20162016 avatar

Stargazers

Pawel Cyrta avatar Ho 229 avatar  avatar Giho Lee avatar

Watchers

James Cloos avatar  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.