Giter VIP home page Giter VIP logo

dpcpp-tutorial's Introduction

dpcpp-tutorial

Lab exercises on Data Parallel Computing and DPC++ for Intel FPGA.

Module 1: Introduction to Data Parallel Computing and DPC++

We use matrix multiplication as a starting point to introduce data parallel computing. (A Surprise ;) This example shows different programming APIs for defining kernel functions that compute on partitions of data. We also demonstrate the usage of analysis and optimization tools on the designes target for Intel FPGAs.

Module 2: Image Convolution

Image convolution is an image processing operator to add pixel values to their neighbors weighted by a kernel (aka convolutional matrix). It can generate interesting effects on the original image such as edge detection or blurring, and has inherent parallelism. We will show how to implement the convolution operation in DPC++ and optimize the design.

Module 3: Word Count

Word count is an example application leveraging Map-Reduce, which decomposes the data with a "split-apply-combine" strategy for data analysis. We show how to design a kernel function to count the number of words in a document using Map-Reduce.

Module 4: Count-Min Sketch

Count-Min Sketch utilizes a probabilistic data structure as a frequency table of events in a stream of data such as packets in network flows. Characteristics of the streaming data such as ``heavy-hitters'' can be calculated using such a streaming algorithm. We use Count-Min sketch to illustrate how to design data parallel programs to implement the algorithm.

Acknowledgement

The development of the curriculum modules in this tutorial is sponsored by Intel Corporation under a MindShare grant in 2020-2021.

dpcpp-tutorial's People

Contributors

stpierres avatar yanluo 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.