From 0032d6ebc48b0ba3dfa5926cd140f4adf8ad1c75 Mon Sep 17 00:00:00 2001 From: kotsifa2 <kotsifa2@illinois.edu> Date: Thu, 23 Jan 2020 17:00:09 -0600 Subject: [PATCH] Malloc starts a new line --- hpvm/docs/hpvm-specification.md | 1 + 1 file changed, 1 insertion(+) diff --git a/hpvm/docs/hpvm-specification.md b/hpvm/docs/hpvm-specification.md index bc19c95f9c..a4bcb4a73b 100644 --- a/hpvm/docs/hpvm-specification.md +++ b/hpvm/docs/hpvm-specification.md @@ -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. -- GitLab