summaryrefslogtreecommitdiffstats
path: root/content/zettel/1e1.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/zettel/1e1.md')
-rw-r--r--content/zettel/1e1.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/content/zettel/1e1.md b/content/zettel/1e1.md
new file mode 100644
index 0000000..eba95c0
--- /dev/null
+++ b/content/zettel/1e1.md
@@ -0,0 +1,21 @@
++++
+title = "How to run C on spatial hardware"
+author = "Yann Herklotz"
+tags = []
+categories = []
+backlinks = ["1e"]
+forwardlinks = []
+zettelid = "1e1"
++++
+
+- Key is that hardware has unlimited parallelism
+- Want to take away the unnecessary ordering that is imposed in
+ software
+- Loads ask for memory and can then block to retrieve the memory
+- For if-statements, the branch is removed and is instead replaced by
+ a multiplexer
+- Any stores in the if-statement need to be anded with the condition
+ of that branch
+- If the execution time is very different in two branches, they should
+ be separated into different control flow statements, so that the
+ delay is only experienced when that branch is actually taken.