Skip to content
Snippets Groups Projects
Commit 0032d6eb authored by kotsifa2's avatar kotsifa2
Browse files

Malloc starts a new line

parent 7df813cf
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,7 @@ Get number of dynamic instances of node ```N``` in dimension x, y or z respectiv
## Intrinsics for Memory Allocation and Synchronization
The following intrinsics are used for memory allocation and synchronization. They can only be used by leaf nodes.
```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, although the pointer returned must somehow be communicated explicitly for use by other nodes.
......
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