4. Running a Poplar program on your Pod
You are now ready to run your first program on your Pod. The Poplar SDK contains a number of example programs, for example, the program
adder_ipu.cpp builds a simple graph to add two vectors together and return
Make a copy of the
poplar/examples/adderdirectory in your working directory
Compile the program:
Run the program.
It will produce the following output:$ ./adder_ipu Creating graph Building engine v1 sum = 10 v2 sum = 65
See Section 6, Next steps for more information on writing your own programs for the IPU.