Skip to content
Snippets Groups Projects
Commit 68877fff authored by kotsifa2's avatar kotsifa2
Browse files

Fixed typo and missing info in createNode intrinsics.

parent 8a1d14fa
No related branches found
No related tags found
No related merge requests found
......@@ -71,16 +71,16 @@ The intrinsics for describing graphs can only be used by internal nodes. Also, i
```i8* llvm.hpvm.createNode(i8* F)```
Create a static dataflow node with one dynamic instances executing node function ```F```. Return a handle to the created node.
Create a static dataflow node with one dynamic instance executing node function ```F```. Return a handle to the created node.
```i8* llvm.hpvm.createNode1D(i8* F, i64 n1)```
Create a static dataflow node with ```n1``` dynamic instances executing node function ```F```. Return a handle to the created node.
Create a static dataflow node replicated in one dimension, namely ```x```, with ```n1``` dynamic instances executing node function ```F```. Return a handle to the created node.
```i8* llvm.hpvm.createNode2D(i8* F, i64 n1, i64 n2)```
Create a static dataflow node replicated in two dimensions, with ```n1``` and ```n2``` dynamic instances in each dimension respectively, executing node function ```F```. Return a handle to the created node.
Create a static dataflow node replicated in two dimensions, namely ```x``` and ```y```, with ```n1``` and ```n2``` dynamic instances in each dimension respectively, executing node function ```F```. Return a handle to the created node.
```i8* llvm.hpvm.createNode3D(i8* F, i64 n1, i64 n2, i64 n3)```
Create a static dataflow node replicated in three dimensions, with ```n1```, ```n2``` and ```n3``` dynamic instances in each dimension respectively, executing node function ```F```. Return a handle to the created node.
Create a static dataflow node replicated in three dimensions, namely ```x```, ```y``` and ```z```, with ```n1```, ```n2``` and ```n3``` dynamic instances in each dimension respectively, executing node function ```F```. Return a handle to the created node.
```i8* llvm.hpvm.createEdge(i8* Src, i8* Dst, i1 ReplType, i32 sp, i32 dp, i1 isStream)```
Create edge from output ```sp``` of node ```Src``` to input ```dp``` of node ```Dst```. ```ReplType``` chooses between a 1-1 or all-to-all edge. ```isStream``` chooses a streaming (1) or non streaming (0) edge. Return a handle to the created edge.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment