Questions related to the Graphcore Poplar® C++ framework for graph programming on the Graphcore IPU processor. Poplar ® enables the programmer to write a single program that defines the graph to be executed on the IPU devices and the controlling code that runs on the host. This tag also covers questions about C++ PopLIBS libraries, the BSP paradigm, vertex programming, compiler errors, and so on.
Questions tagged [poplar]
3 questions
5
votes
1 answer
How can Poplar codelets include code from other header files?
Is it possible for codelets to reference code in other files, like header files?
If I have a codelet file
//FileA.cpp
#include "FileB.h"
class SomeCustomVertex : public Vertex {
public:
bool compute() {
int a =…

Thorben Louw
- 101
- 5
5
votes
1 answer
Difference between virtualGraph and pipelineStage Graphcore's PopART/Poplar libraries
I'm trying to implement a basic pipelined model using Graphcore's PopART framework (part of the Poplar API) to speed up my model which is split over multiple processors.
I'm following their example code, but I notice the example does not use the…

n00dle
- 5,949
- 2
- 35
- 48
2
votes
1 answer
What is the meaning and purpose of the Linux /dev/ipu* device names for graphcore IPUs?
Why do I specify ipu4 and ipu4_ex both to use ipu device in docker like below command?
docker run --device=/dev/**ipu4**:/dev/ipu4 --device=/dev/**ipu4_ex**:/dev/ipu4_ex -ti graphcore/tools gc-inventory

Moon-Kee BahkMZC
- 23
- 2