-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove whitespace errors. Run `git ls-file | sed -i 's/[[:space:]]*$//'` * x
- Loading branch information
1 parent
cbb77f4
commit de5a4d9
Showing
31 changed files
with
171 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ _build | |
seashell.wiki/* | ||
seashell.install | ||
out/ | ||
docs/*.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
vector-vector add on host processor | ||
-------- | ||
|
||
Our first attempt will be to create a host program. A host program is a regular program, written with a regular language and running on a general purpose processor. However, general purpose processor are great at running sequential programs. These programs are inherently sequential, so parallel architectures cannot exploit them. ANd general purpose processors are specialized at running these programs fast. It so happens, most control programs are very sequential. And a control program is essential to manage a heterogeneous system. | ||
Our first attempt will be to create a host program. A host program is a regular program, written with a regular language and running on a general purpose processor. However, general purpose processor are great at running sequential programs. These programs are inherently sequential, so parallel architectures cannot exploit them. ANd general purpose processors are specialized at running these programs fast. It so happens, most control programs are very sequential. And a control program is essential to manage a heterogeneous system. | ||
|
||
We will run a very simple application on our host processor, which would create some arrays, initialize them and send them to a vector-vector add function. Then we can print these values to a | ||
We will run a very simple application on our host processor, which would create some arrays, initialize them and send them to a vector-vector add function. Then we can print these values to a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
///////////////////////////////////////////// | ||
// 1d array logical access | ||
// - This application uses a banked array as input | ||
// with regular banking, accessed logically with | ||
// with regular banking, accessed logically with | ||
// unroll to access different banks | ||
//////////////////////////////////////////// | ||
|
||
func madd(a: float[1024 bank(32)], b: float) { | ||
|
||
for (let i = 0..1023) unroll 32 { | ||
b := a[i]; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.