Skip to content

Latest commit

 

History

History
 
 

poplar

Tutorials

These tutorials provide hands-on programming exercises to enable you to familiarise yourself with creating and running programs using Poplar and PopLibs. They are intended to complement the Poplar and PopLibs User Guide and the Poplar and PopLibs API Reference. It is assumed that you have already downloaded and installed Poplar, and that you are familiar with C++ and command-line compilation tools.

For most of the tutorials we've included two directories. One, called start_here, contains the bare structure of the tutorial as a starting point and the other, complete, contains the finished code for reference. Each tutorial also has a tests directory, which checks that the code can be compiled and run. See the README file in each test directory for more information.

All the tutorials are in C++. They can run on a simulated IPU, so you should be able to create the code, compile and run them as you work through this text even if you do not have access to IPU hardware.

Each of the tutorials contains its own README file with full instructions.

  • Tutorial 1: programs and variables
  • Tutorial 2: using PopLibs
  • Tutorial 3: writing vertex code
  • Tutorial 4: profiling output
  • Tutorial 5: matrix-vector multiplication
  • Tutorial 6: matrix-vector multiplication optimisation

Copyright (c) 2018 Graphcore Ltd. All rights reserved.