Skip to content

Commit

Permalink
Example Introduction: stateless codelet
Browse files Browse the repository at this point in the history
  • Loading branch information
EltonCN committed Oct 18, 2024
1 parent 321b63b commit 3108287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/Introduction to CST-Python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@
"- `calculate_activation`: computes the codelet's activation. We are not going to use this now.\n",
"- `proc`: the actual function that the codelet performs, reading from the inputs, processing and setting the outputs.\n",
"\n",
"It is important to note that the codelet should only get inputs in the `access_memory_objects`, not in `proc`. The content of the memories (info) can be accessed everywhere."
"It is important to note that the codelet should only get inputs in the `access_memory_objects`, not in `proc`. The content of the memories (info) can be accessed everywhere.\n",
"\n",
"Also, the Codelet should be stateless. Any data necessary for its operation should be in the inputs."
]
},
{
Expand Down

0 comments on commit 3108287

Please sign in to comment.