Skip to content
Snippets Groups Projects
Commit 2848b4a4 authored by kotsifa2's avatar kotsifa2
Browse files

Minor syntax fix in hpvm spec

parent 27d3c643
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ The following intrinsics are used for memory allocation and synchronization. The
```i8* llvm.hpvm.malloc(i64 nBytes)```
Allocate a block of memory of size ```nBytes``` and return pointer to it. The allocated object can be shared by all nodes.
*Note that the pointer returned must somehow be communicated explicitly for use by other nodes.*
*Note that the returned pointer must somehow be communicated explicitly for use by other nodes.*
```i32 llvm.hpvm.atomic.add(i8* m, i32 v)```
Atomically computes the bitwise ADD of ```v``` and the value stored at memory location ```[m]``` w.r.t. the dynamic instances of the current leaf node and stores the result back into ```[m]```. Returns the value previously stored at ```[m]```.
......
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